]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/tilecache/templates/default/nginx_tile_ssl.conf.erb
tilecache: Add SSL traffic rate limit
[chef.git] / cookbooks / tilecache / templates / default / nginx_tile_ssl.conf.erb
index 71b8258285a35dc2fc4666851cbe7cae75b4765b..793c5f00d6bdf41c43ea366e9c7fd569167247b4 100644 (file)
@@ -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;
     }
 }