Don't expose php version in favor of #433 hide php version

This commit is contained in:
Christian Homeyer 2015-06-14 20:56:20 +02:00
parent be2b5a62de
commit 22a5a6f917
1 changed files with 4 additions and 0 deletions

View File

@ -80,6 +80,10 @@ if [ -L /etc/init.d/php-fastcgi ]; then
apt-get -y purge php5-cgi #NODOC apt-get -y purge php5-cgi #NODOC
fi fi
# Don't expose the php version
tools/editconf.py /etc/nginx/fastcgi_params \
"fastcgi_param PHP_VALUE \"expose_php"="Off\";"
# Remove obsoleted scripts. #NODOC # Remove obsoleted scripts. #NODOC
# exchange-autodiscover is now handled by Z-Push. #NODOC # exchange-autodiscover is now handled by Z-Push. #NODOC
for f in webfinger exchange-autodiscover; do #NODOC for f in webfinger exchange-autodiscover; do #NODOC