]> git.openstreetmap.org Git - chef.git/commitdiff
imagery: use fastcgi_cache_use_stale supported only
authorGrant Slater <git@firefishy.com>
Sun, 29 May 2016 18:07:40 +0000 (19:07 +0100)
committerGrant Slater <git@firefishy.com>
Sun, 29 May 2016 18:07:40 +0000 (19:07 +0100)
cookbooks/imagery/templates/default/nginx_imagery_layer_fragment.conf.erb

index bf8aa264ab8e7ac733bbaf14bee9946e4db32063..d5e4a420f98a6ed68100055f6018d89e3f07b4aa 100644 (file)
@@ -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;
 }