# 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] %>
<% 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
# Configure logging
BufferedLogs <%= node[:apache][:buffered_logs] ? "On" : "Off" %>
+
+# Define an extended log format that includes request time and SSL details
+<% if node[:lsb][:release].to_f >= 22.04 -%>
+LogFormat "%h %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\" %Dus %{SSL_PROTOCOL}x %{SSL_CIPHER}x" combined_extended
+<% else -%>
+LogFormat "%h %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\" %Dus" combined_extended
+<% end -%>