更新 'docker/update.sh'

This commit is contained in:
vpt 2023-07-05 17:28:27 +08:00
parent e474bfdfa7
commit 54b3b30945

View File

@ -1,7 +1,7 @@
#!/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获取/更新证书 # 使用acme获取/更新证书
${ACME_HOME}/acme.sh ${ACME_PARAMS:-} \ ${ACME_HOME}/acme.sh ${ACME_PARAMS:-} \