diff --git a/run_certbot.sh b/run_certbot.sh index 1a632f0..9e12553 100644 --- a/run_certbot.sh +++ b/run_certbot.sh @@ -27,13 +27,14 @@ if [ ! -d "${LETSENCRYPT_PATH}" ]; then apk add --no-cache certbot fi - certbot certonly \ - --non-interactive \ - --agree-tos \ - --no-eff-email \ - --email "${EMAIL}" \ - --webroot -w "${WEBROOT}" \ - -d "${DOMAIN}" + certbot certonly\ + --non-interactive\ + --agree-tos\ + --no-eff-email\ + --no-redirect\ + --email admin@${DOMAIN}\ + -d ${DOMAIN}\ + --standalone echo "[INFO] Certificate issued successfully." else