Remove default config included when installing nginx

This commit is contained in:
Alex Thomassen 2022-04-20 14:32:17 +02:00
parent f0c3e016c6
commit 70b3e5530a
Signed by: Alex
GPG Key ID: 10BD786B5F6FF5DE
1 changed files with 3 additions and 0 deletions

View File

@ -99,6 +99,9 @@ fi
if [[ $DOWNLOAD_DEFAULT != 0 ]]; then
curl -L "$GIST/$DEFAULT_NAME" > "$DEFAULT_DIR/$DEFAULT_NAME"
# Remove the default configuration included when installing nginx.
rm /etc/nginx/conf.d/default.conf
fi
echo "Base setup done. Open this link for a base nginx site configuration: $GIST/$DEFAULT_NAME"