diff --git a/docker/update.sh b/docker/update.sh index cd04e1b..3fc309d 100644 --- a/docker/update.sh +++ b/docker/update.sh @@ -1,8 +1,8 @@ #!/bin/sh set -u -${ACME_HOME}/acme.sh --set-default-ca --server letsencrypt if [ "${ACME_ENABLED:=true}" = "true" ]; then + ${ACME_HOME}/acme.sh --set-default-ca --server letsencrypt # 使用acme获取/更新证书 ${ACME_HOME}/acme.sh ${ACME_PARAMS:-} \ --force --issue --cert-home ${CERT_HOME} \