X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/c1a9f6c354f1feb34433134850ecdd4fffe5ba1d..5b9aeda9dca5ea47f0db2da554dfcc5b868e69bc:/cookbooks/tilecache/templates/default/nginx_tile_ssl.conf.erb diff --git a/cookbooks/tilecache/templates/default/nginx_tile_ssl.conf.erb b/cookbooks/tilecache/templates/default/nginx_tile_ssl.conf.erb index 7f01c3fc8..0ec51a10e 100644 --- a/cookbooks/tilecache/templates/default/nginx_tile_ssl.conf.erb +++ b/cookbooks/tilecache/templates/default/nginx_tile_ssl.conf.erb @@ -13,7 +13,7 @@ upstream tile_cache_backend { } server { - listen 443 ssl default_server; + listen 443 ssl http2 default_server; server_name localhost; proxy_buffers 8 64k; @@ -35,5 +35,8 @@ server { proxy_set_header X-Forwarded-For $remote_addr; proxy_http_version 1.1; proxy_set_header Connection ""; + + # Slow traffic slightly + limit_rate 24576; } }