fix new-app: retry build trigger, clean up temp nginx conf, add remove-app script
This commit is contained in:
@@ -27,6 +27,7 @@ NGINXCONF
|
||||
certbot certonly --webroot -w /opt/hantim/docker/nginx/certbot/www \
|
||||
--non-interactive --agree-tos --register-unsafely-without-email \
|
||||
--cert-name "$APP" -d "$APP" -d "www.$APP"
|
||||
rm -f "/opt/hantim/docker/nginx/conf.d/$APP.conf"
|
||||
echo "Certificate issued for $APP"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user