From fc053fbdaa39644085d44e8c06a4d52083514faf Mon Sep 17 00:00:00 2001 From: ale <ale@incal.net> Date: Mon, 30 Dec 2024 08:57:01 +0000 Subject: [PATCH] Update docs for nginx_cache_custom_params --- docs/reference.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/docs/reference.md b/docs/reference.md index c1e6eb85..ab3e5a25 100644 --- a/docs/reference.md +++ b/docs/reference.md @@ -2494,9 +2494,12 @@ attributes that specify static DNS entries that will be added to `nginx_cache_keys_mem` is the memory size of the key buffer for the global NGINX HTTP cache. -`nginx_cache_fs_size` is the maximum on-disk size of the NGINX HTTP -cache (note that NGINX might use as much as twice what specified here, -depending on expiration policy). +`nginx_cache_custom_params` are additional parameters for customizing +the *proxy_cache_path* NGINX configuration directive for the global +cache. The most important attribute you might want to set is possibly +*max_size*, which controls the maximum size of the on-disk cache (note +that NGINX might use as much as twice what specified, depending on +expiration policy). `nginx_global_custom_headers` - a dictionary of {header: value} pairs corresponding to HTTP headers that must be set on *every* response. -- GitLab