Update 'NGINX-Installer.sh'

This commit is contained in:
bprieshof
2019-03-24 23:10:07 +01:00
parent 86343d7983
commit 8eb752d823

View File

@@ -370,4 +370,12 @@ EOF
# Html Folder Perms # # Html Folder Perms #
##-----------------------## ##-----------------------##
chown -R www-data:www-data /var/www/"$domain"/html chown -R www-data:www-data /var/www/"$domain"/html
##------------------------##
# Default NGINX page #
##------------------------##
rm -rf /var/www/html/*
echo "<html><head></head><body>Nginx is functioning normally</body></html>" > /var/www/html/index.html
chown www-data:www-data /var/www/html/index.html