X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/aa580b24873a23f97505af83d6fdc54914ea47e1..6cf4a14058d61863ecb4522df528b59e83ec5edf:/cookbooks/imagery/templates/default/nginx_imagery_layer_fragment.conf.erb 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 44078b2e2..e72a6d7e9 100644 --- a/cookbooks/imagery/templates/default/nginx_imagery_layer_fragment.conf.erb +++ b/cookbooks/imagery/templates/default/nginx_imagery_layer_fragment.conf.erb @@ -24,6 +24,7 @@ location ~* "^/layer/<%= @layer %>/(\d+)/(\d+)/(\d+)\.(png|jpg|jpeg)$" { proxy_cache_background_update on; proxy_next_upstream error timeout invalid_header http_500 http_503; proxy_next_upstream_tries 3; + proxy_intercept_errors on; proxy_next_upstream_timeout 30s; <% else -%>