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