X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/efec9044e973a2ae2a7b48d169b55e250c469ede..1b721888b69d136e5b39ff7e6ad227d40f60408a:/cookbooks/tilecache/templates/default/nginx_tile.conf.erb diff --git a/cookbooks/tilecache/templates/default/nginx_tile.conf.erb b/cookbooks/tilecache/templates/default/nginx_tile.conf.erb index 0fac382a2..db4612bc8 100644 --- a/cookbooks/tilecache/templates/default/nginx_tile.conf.erb +++ b/cookbooks/tilecache/templates/default/nginx_tile.conf.erb @@ -227,7 +227,7 @@ server { proxy_cache_valid 200 1d; proxy_cache_valid 404 15m; # Serve stale cache on errors or if updating - proxy_cache_use_stale error timeout updating http_500 http_503 http_504; + proxy_cache_use_stale error timeout updating http_404 http_500 http_503 http_504; # If in cache as stale, serve stale and update in background proxy_cache_background_update on; # Enable revalidation using If-Modified-Since and If-None-Match for stale items