diff --git a/deploy/docker/frontend/01-update-nginx-conf.sh b/deploy/docker/frontend/01-update-nginx-conf.sh index 01e2aad16..67364c75e 100644 --- a/deploy/docker/frontend/01-update-nginx-conf.sh +++ b/deploy/docker/frontend/01-update-nginx-conf.sh @@ -4,6 +4,7 @@ set -e CERT="/lowcoder-stacks/ssl" +rm -f /etc/nginx/nginx.conf echo "Creating nginx config..." if [ -e "${CERT}/fullchain.pem" ] && [ -e "${CERT}/privkey.pem" ]; then echo "Certificates found, configuring with HTTPS."