diff --git a/roles/native-nginx-docker-proxy/templates/proxy_pass.conf.j2 b/roles/native-nginx-docker-proxy/templates/proxy_pass.conf.j2 index 76b21c19..9b080a53 100644 --- a/roles/native-nginx-docker-proxy/templates/proxy_pass.conf.j2 +++ b/roles/native-nginx-docker-proxy/templates/proxy_pass.conf.j2 @@ -19,7 +19,8 @@ location / # general caching proxy_cache cache; proxy_cache_key $host$uri$is_args$args; - proxy_cache_valid any 5m; + proxy_cache_valid any 1m; + proxy_cache_valid 200 301 302 5m; expires 5m; # cache media files