Remove any default website configuration

This commit is contained in:
bashrc committed 2026-02-23 19:55:43 +00:00
1 parent ee90b0071e
commit a0e6924806
1 file changed
+3
+3
View File
@@ -308,6 +308,9 @@ rm /etc/nginx/sites-enabled/*~
if [ -f /etc/nginx/sites-enabled/default ]; then
rm /etc/nginx/sites-enabled/default
fi
if [ -f /etc/nginx/sites-available/default ]; then
rm /etc/nginx/sites-available/default
fi
systemctl restart nginx
clear