更新 '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
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} \