diff --git a/php/nginx/letsencrypt.runit b/php/nginx/letsencrypt.runit index 9a3cc22..660a32d 100755 --- a/php/nginx/letsencrypt.runit +++ b/php/nginx/letsencrypt.runit @@ -15,10 +15,10 @@ fi if [ "${LETSENCRYPT_MODE,,}" = "production" ]; then echo -e "LetsEncrypt is running against the \e[32mPRODUCTION\e[0m servers." - LETSENCRYPT_MODE= + LETSENCRYPT_MODE="" else echo -e "LetsEncrypt is running against the \e[31mSTAGING\e[0m servers." - LETSENCRYPT_MODE=--test-cert + LETSENCRYPT_MODE="--test-cert" fi echo -e "To change this, change the value of LETSENCRYPT_MODE" @@ -31,7 +31,7 @@ echo -e "Certbot is running for \e[33m${LETSENCRYPT_EMAIL}\e[0m / \e[33m${LETSEN certbot \ certonly \ --nginx \ - $LETSENCRYPT_TEST_MODE \ + $LETSENCRYPT_MODE \ -d $LETSENCRYPT_DOMAINS \ -n \ -m $LETSENCRYPT_EMAIL \