更新 'docker/update.sh'

This commit is contained in:
vpt 2023-07-05 17:36:29 +08:00
parent 3dde56e29a
commit a33d48b1bf

View File

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