From 3171f3c8c415f0177d2a7a6935f6198619655775 Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Tue, 23 Mar 2021 20:00:08 +0100 Subject: [PATCH] Update to 2021-03-23 20:00 --- roles/nginx/templates/ansible_conf.d/cache.inc.j2 | 3 +++ 1 file changed, 3 insertions(+) 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;