diff --git a/docker-entrypoint.sh b/docker-entrypoint.sh index 561640c..675d592 100755 --- a/docker-entrypoint.sh +++ b/docker-entrypoint.sh @@ -2,10 +2,8 @@ set -e #set -x -if [ "${1}" = 'dehydrated' ]; then - if [ "${LE_ENV}" == 'production' ]; then - sed -i 's@CA=.*@CA="https://acme-v01.api.letsencrypt.org/directory"@g' /etc/dehydrated/config - fi +if [ "${LE_ENV}" == 'production' ]; then + sed -i 's@CA=.*@CA="https://acme-v01.api.letsencrypt.org/directory"@g' /etc/dehydrated/config fi echo "${@}"