1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2025-04-21 03:02:09 +00:00

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

View File

@ -80,6 +80,10 @@ if [ -L /etc/init.d/php-fastcgi ]; then
apt-get -y purge php5-cgi #NODOC
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
# exchange-autodiscover is now handled by Z-Push. #NODOC
for f in webfinger exchange-autodiscover; do #NODOC