]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/apache/templates/default/httpd.conf.erb
Bump planet-dump-ng version to v1.1.8, which includes a concurrency limit for disk...
[chef.git] / cookbooks / apache / templates / default / httpd.conf.erb
index 9c80314b05d996ca6349fed5d71feafe096b47ff..62533efae0512bee01b91b50e0f8e432591ab6d6 100644 (file)
@@ -1,5 +1,8 @@
 # DO NOT EDIT - This file is being maintained by Chef
 
+# Enable HTTP/2 over TLS
+Protocols h2 http/1.1
+
 # Set the number of seconds before receives and sends time out
 Timeout <%= node[:apache][:timeout] %>
 
@@ -44,6 +47,12 @@ ThreadLimit <%= node[:apache][:event][:thread_limit] %>
 ThreadsPerChild <%= node[:apache][:event][:threads_per_child] %>
 MaxRequestWorkers <%= node[:apache][:event][:max_request_workers] %>
 MaxConnectionsPerChild <%= node[:apache][:event][:max_connections_per_child] %>
+<% if node[:apache][:event][:async_request_worker_factor] -%>
+AsyncRequestWorkerFactor <%= node[:apache][:event][:async_request_worker_factor] %>
+<% end -%>
+<% if node[:apache][:event][:listen_cores_buckets_ratio] -%>
+ListenCoresBucketsRatio <%= node[:apache][:event][:listen_cores_buckets_ratio] %>
+<% end -%>
 <% end -%>
 
 # Default to UTF-8