From: Grant Slater Date: Mon, 3 Oct 2016 11:20:24 +0000 (+0100) Subject: tilecache: Add SSL traffic rate limit X-Git-Url: https://git.openstreetmap.org/chef.git/commitdiff_plain/783ac5bed4b1babdbecb5e32aa8785cc8d0225b4 tilecache: Add SSL traffic rate limit --- diff --git a/cookbooks/tilecache/templates/default/nginx_tile_ssl.conf.erb b/cookbooks/tilecache/templates/default/nginx_tile_ssl.conf.erb index 71b825828..793c5f00d 100644 --- a/cookbooks/tilecache/templates/default/nginx_tile_ssl.conf.erb +++ b/cookbooks/tilecache/templates/default/nginx_tile_ssl.conf.erb @@ -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 8192; } }