更新 'docker/update.sh'

This commit is contained in:
vpt 2023-07-05 17:34:10 +08:00
parent 54b3b30945
commit 3dde56e29a

View File

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