]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/tilecache/templates/default/nginx_tile_ssl.conf.erb
supybot: more aggressive init stop
[chef.git] / cookbooks / tilecache / templates / default / nginx_tile_ssl.conf.erb
index 7f01c3fc8116ed5ee97cfa912ca0611f80b75eeb..0ec51a10ef078827c6a1292be3a7b8d6d6e59c00 100644 (file)
@@ -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;
     }
 }