fix:Fix the incorrect path in the nginx configuration file.

Fix the incorrect path in the nginx configuration file.
Update the deployment documentation.
This commit is contained in:
david_bai
2025-07-23 23:48:28 +08:00
parent 7950aec063
commit bac5e84d90
3 changed files with 20 additions and 28 deletions
+2 -2
View File
@@ -82,7 +82,7 @@ configure_nginx() {
done < "$NGINX_TEMPLATE" > "$TEMP_NGINX"
# Copy the configuration file to the target location
cp "$TEMP_NGINX" /etc/nginx/sites-available/default
cp "$TEMP_NGINX" /etc/nginx/sites-enabled/default
# cp "$TEMP_NGINX" default_temp
rm "$TEMP_NGINX"
}
@@ -91,7 +91,7 @@ configure_nginx() {
configure_nginx
cp backend/docker/Nginx/nginx.conf /etc/nginx
echo "Nginx base configuration generated successfully at /etc/nginx/sites-available/default."
echo "Nginx base configuration generated successfully at /etc/nginx/sites-enabled/default."
echo "The script no longer restarts Nginx automatically."
echo ""
echo "NEXT STEP: Run Certbot to install the SSL certificate and automatically configure Nginx:"