X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/3f966bbd9c321ce5377e33b9f920984e2bdcef7b..ab49f1fed889c2eac1ffd67fe8035c98d5a001b9:/cookbooks/apache/templates/default/httpd.conf.erb diff --git a/cookbooks/apache/templates/default/httpd.conf.erb b/cookbooks/apache/templates/default/httpd.conf.erb index ded019d93..3f78187f8 100644 --- a/cookbooks/apache/templates/default/httpd.conf.erb +++ b/cookbooks/apache/templates/default/httpd.conf.erb @@ -1,10 +1,8 @@ # DO NOT EDIT - This file is being maintained by Chef -<% if node[:lsb][:release].to_f >= 18.04 -%> # Enable HTTP/2 over TLS Protocols h2 http/1.1 -<% end -%> # Set the number of seconds before receives and sends time out Timeout <%= node[:apache][:timeout] %> @@ -52,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 @@ -62,3 +63,6 @@ AddType application/x-xz .xz # Configure logging BufferedLogs <%= node[:apache][:buffered_logs] ? "On" : "Off" %> + +# Define an extended log format that includes request time and SSL details +LogFormat "%h %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\" %Dus %{SSL_PROTOCOL}x %{SSL_CIPHER}x" combined_extended