Fixed HTTPS on CentOS

This commit is contained in:
root
2018-09-28 13:44:57 +03:00
parent faee6eebe8
commit ae8cd145b9
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)"