Merge pull request #375 from zabbix/master

Fixed HTTPS on CentOS
This commit is contained in:
Alexey Pustovalov
2018-09-28 13:46:52 +03:00
committed by GitHub
36 changed files with 196 additions and 8 deletions

View File

@ -482,7 +482,10 @@ prepare_web_server_apache() {
elif [ -f "/etc/apache2/conf.d/default.conf" ]; then
echo "** Disable default site"
rm -f "/etc/apache2/conf.d/default.conf"
elif [ -f "/etc/httpd/conf.d/welcome.conf" ]; then
echo "** Disable default site"
rm -f "/etc/httpd/conf.d/welcome.conf"
rm -f "/etc/httpd/conf.d/ssl.conf"
fi
echo "** Adding Zabbix virtual host (HTTP)"