From 09b3b685397aea927e5a0a67b67d5e778b3441db Mon Sep 17 00:00:00 2001 From: Grant Slater Date: Sun, 29 May 2016 19:07:40 +0100 Subject: [PATCH] imagery: use fastcgi_cache_use_stale supported only --- .../templates/default/nginx_imagery_layer_fragment.conf.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cookbooks/imagery/templates/default/nginx_imagery_layer_fragment.conf.erb b/cookbooks/imagery/templates/default/nginx_imagery_layer_fragment.conf.erb index bf8aa264a..d5e4a420f 100644 --- a/cookbooks/imagery/templates/default/nginx_imagery_layer_fragment.conf.erb +++ b/cookbooks/imagery/templates/default/nginx_imagery_layer_fragment.conf.erb @@ -13,7 +13,7 @@ location ~* "^/layer/<%= @layer %>/(\d+)/(\d+)/(\d+)\.(png|jpg|jpeg)$" { fastcgi_cache_lock on; fastcgi_cache_lock_timeout 30s; fastcgi_cache_valid 200 21d; - fastcgi_cache_use_stale error timeout updating http_500 http_502 http_503 http_504; + fastcgi_cache_use_stale error timeout updating http_500 http_503; gzip off; } -- 2.39.5