Update 'NGINX-Installer.sh'
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user