From 783ac5bed4b1babdbecb5e32aa8785cc8d0225b4 Mon Sep 17 00:00:00 2001 From: Grant Slater Date: Mon, 3 Oct 2016 12:20:24 +0100 Subject: [PATCH] tilecache: Add SSL traffic rate limit --- cookbooks/tilecache/templates/default/nginx_tile_ssl.conf.erb | 3 +++ 1 file changed, 3 insertions(+) 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; } } -- 2.39.5