From: Grant Slater Date: Wed, 1 Jun 2016 22:35:11 +0000 (+0100) Subject: imagery: enable TCP Fast Open X-Git-Url: https://git.openstreetmap.org./chef.git/commitdiff_plain/f54da23a5ba4dc59ee8fe8c2ee47ebc12b18e07b imagery: enable TCP Fast Open --- diff --git a/cookbooks/imagery/templates/default/nginx_imagery.conf.erb b/cookbooks/imagery/templates/default/nginx_imagery.conf.erb index 1e9415825..b24989185 100644 --- a/cookbooks/imagery/templates/default/nginx_imagery.conf.erb +++ b/cookbooks/imagery/templates/default/nginx_imagery.conf.erb @@ -1,5 +1,5 @@ server { - listen 80; + listen 80 fastopen=1024; server_name <%= @name %> a.<%= @name %> b.<%= @name %> c.<%= @name %><% @aliases.each do |alias_name| %> <%= alias_name %> a.<%= alias_name %> b.<%= alias_name %> c.<%= alias_name %><%- end -%>; root "/srv/<%= @name %>";