From 8eb752d8237eebd186c67198319b21cdf7e8a570 Mon Sep 17 00:00:00 2001 From: bprieshof Date: Sun, 24 Mar 2019 23:10:07 +0100 Subject: [PATCH] Update 'NGINX-Installer.sh' --- NGINX-Installer.sh | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/NGINX-Installer.sh b/NGINX-Installer.sh index e167a0f..e342097 100644 --- a/NGINX-Installer.sh +++ b/NGINX-Installer.sh @@ -370,4 +370,12 @@ EOF # Html Folder Perms # ##-----------------------## -chown -R www-data:www-data /var/www/"$domain"/html \ No newline at end of file +chown -R www-data:www-data /var/www/"$domain"/html + +##------------------------## +# Default NGINX page # +##------------------------## + +rm -rf /var/www/html/* +echo "Nginx is functioning normally" > /var/www/html/index.html +chown www-data:www-data /var/www/html/index.html