]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/apache/templates/default/httpd.conf.erb
Report selected apache configuration options to prometheus
[chef.git] / cookbooks / apache / templates / default / httpd.conf.erb
index add175aa29e54df20ce612d426ee50fa22c6e73a..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] %>
 
@@ -47,6 +50,9 @@ 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