]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/imagery/templates/default/nginx_imagery.conf.erb
imagery: increase http2 max concurrent streams
[chef.git] / cookbooks / imagery / templates / default / nginx_imagery.conf.erb
index 497cc1f53ea95ef97cb8de4b64b26f006e75a34b..be2c6acf88e469fb798f034ce176934655232d9d 100644 (file)
@@ -27,6 +27,8 @@ server {
     listen [::]:443 ssl http2;
     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 -%>;
 
+    http2_max_concurrent_streams 512;
+
     ssl_certificate /etc/ssl/certs/<%= @name %>.pem;
     ssl_certificate_key /etc/ssl/private/<%= @name %>.key;
 <% if node[:ssl][:strict_transport_security] -%>