diff --git a/roles/nginx/templates/ansible_conf.d/cache.inc.j2 b/roles/nginx/templates/ansible_conf.d/cache.inc.j2 index 3a0ef0b..2926f56 100644 --- a/roles/nginx/templates/ansible_conf.d/cache.inc.j2 +++ b/roles/nginx/templates/ansible_conf.d/cache.inc.j2 @@ -1,3 +1,6 @@ +proxy_cache_convert_head off; +proxy_cache_methods GET HEAD; +proxy_cache_key $scheme$request_method$proxy_host$request_uri; proxy_cache cache_std; proxy_cache_valid 200 120m; proxy_cache_valid 404 500 502 503 504 20s;