From 368d52e8e877e809bdca982964c2cf9d2bab4e0d Mon Sep 17 00:00:00 2001 From: Grant Slater Date: Wed, 24 Jul 2024 14:59:20 +0100 Subject: [PATCH] Revert "apache: only show major/minor apache version in response header" This does not work as security.conf overrides the set value. This reverts commit 2381006bfe55b37e25482f8f4d569e3da3682206. --- cookbooks/apache/templates/default/httpd.conf.erb | 3 --- 1 file changed, 3 deletions(-) diff --git a/cookbooks/apache/templates/default/httpd.conf.erb b/cookbooks/apache/templates/default/httpd.conf.erb index 171feaa54..3f78187f8 100644 --- a/cookbooks/apache/templates/default/httpd.conf.erb +++ b/cookbooks/apache/templates/default/httpd.conf.erb @@ -6,9 +6,6 @@ Protocols h2 http/1.1 # Set the number of seconds before receives and sends time out Timeout <%= node[:apache][:timeout] %> -# Set only Major and Minor in the Server response header -ServerTokens Minor - # Decide whether or not to allow persistent connections Keepalive <%= node[:apache][:keepalive] ? "On" : "Off" %> <% if node[:apache][:mpm] == "prefork" -%> -- 2.39.5