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