summaryrefslogtreecommitdiffstats
path: root/puppet
diff options
context:
space:
mode:
authorDimitri Savineau <dsavinea@redhat.com>2016-08-30 14:13:57 -0400
committerDimitri Savineau <dsavinea@redhat.com>2016-08-30 14:13:57 -0400
commit6c37e1ed2714be540eb614f70d7363cf11a35eb9 (patch)
tree3ffb2e7564b2d5360142b247f2269bb0f49161e1 /puppet
parent5dccc05da37f3f13cf72a941edb0be28447bca1c (diff)
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
Diffstat (limited to 'puppet')
-rw-r--r--puppet/services/apache.yaml2
1 files changed, 2 insertions, 0 deletions
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"