X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/6088534f1b61e4667c74e4b83a82ba434b22e494..d4db5c7d063bb8bbb891f057d9a775ebf3390eaa:/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 0f4f9e520..6b5d2c48e 100644 --- a/cookbooks/tilecache/templates/default/nginx_tile.conf.erb +++ b/cookbooks/tilecache/templates/default/nginx_tile.conf.erb @@ -3,7 +3,7 @@ upstream tile_cache_backend { server 127.0.0.1; - keepalive 32; + keepalive 256; } # Rates table based on current cookie value @@ -53,6 +53,8 @@ server { proxy_connect_timeout 5s; + # Preserve host header. + proxy_set_header Host $host; # Do not pass cookies to backends. proxy_set_header Cookie ''; # Do not pass Accept-Encoding to backends.