diff modules/website/manifests/php.pp @ 106:ef0926ee389a puppet-3.6

Lock down Apache headers for security, based on https://securityheaders.io/
author IBBoard <dev@ibboard.co.uk>
date Sat, 14 May 2016 17:10:10 +0100
parents 89a94c61e4d6
children b00eb9434938
line wrap: on
line diff
--- a/modules/website/manifests/php.pp	Sat Apr 23 16:28:47 2016 +0100
+++ b/modules/website/manifests/php.pp	Sat May 14 17:10:10 2016 +0100
@@ -26,7 +26,8 @@
   }
   file { '/etc/php.d/custom-lockdown.ini':
     ensure => present,
-    content => 'allow_url_fopen = \'off\'',
+    content => 'allow_url_fopen = \'off\'
+    expose_php = Off',
   }
   file { '/etc/php.d/custom-php.ini':
     ensure => present,