From 6c37e1ed2714be540eb614f70d7363cf11a35eb9 Mon Sep 17 00:00:00 2001 From: Dimitri Savineau Date: Tue, 30 Aug 2016 14:13:57 -0400 Subject: apache: Remove product informations By default, the httpd version and the OS type is described in the HTTP header 'Server'. Server: Apache/2.4.6 (Red Hat Enterprise Linux) This patch allows to remove the specific informations related to the httpd server and the OS. Change-Id: Ib608919102bc6b2c7619a522ae1262729dc7a91e --- puppet/services/apache.yaml | 2 ++ 1 file changed, 2 insertions(+) (limited to 'puppet/services/apache.yaml') diff --git a/puppet/services/apache.yaml b/puppet/services/apache.yaml index 758d9510..7595e4c3 100644 --- a/puppet/services/apache.yaml +++ b/puppet/services/apache.yaml @@ -31,6 +31,8 @@ outputs: # internal_api_uri -> [IP] # internal_api_subnet - > IP/CIDR apache::ip: {get_param: [ServiceNetMap, ApacheNetwork]} + apache::server_signature: 'Off' + apache::server_tokens: 'Prod' apache_remote_proxy_ips_network: str_replace: template: "NETWORK_subnet" -- cgit 1.2.3-korg