]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/tilecache/templates/default/nginx_tile_ssl.conf.erb
tilecache: enable TFO
[chef.git] / cookbooks / tilecache / templates / default / nginx_tile_ssl.conf.erb
index 793c5f00d6bdf41c43ea366e9c7fd569167247b4..f0bfdf20908c4bf7fcf2fdc827618ca9d13fbf72 100644 (file)
@@ -13,7 +13,7 @@ upstream tile_cache_backend {
 }
 
 server {
-    listen       443 ssl http2 default_server;
+    listen       443 ssl fastopen=2048 http2 default_server;
     server_name  localhost;
 
     proxy_buffers 8 64k;
@@ -37,6 +37,6 @@ server {
       proxy_set_header Connection "";
 
       # Slow traffic slightly
-      limit_rate 8192;
+      limit_rate 24576;
     }
 }