Added custom default index page

This commit is contained in:
2020-08-21 12:06:13 +00:00
parent e9d03d5393
commit dde2802060

View File

@@ -27,4 +27,7 @@ ln -s /etc/apache2/sites-available/"$sitename"_nossl.conf /etc/apache2/sites-ena
wget -q -t7 -O - "$repo"/raw/branch/"$branch"/CoreModules/apache/config/apache2/site_ssl-unconfigured >> /etc/apache2/sites-available/"$sitename"_ssl.conf
sed -i -e 's/DOMAINname/'$domain'/' /etc/apache2/sites-available/"$sitename"_ssl.conf
# custom Welcome page
echo "<html><head></head><body>$webserv is functioning normally</body></html>" > /var/www/html/index.html
systemctl start apache2