更新 'docker/update.sh'
This commit is contained in:
parent
54b3b30945
commit
3dde56e29a
@ -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} \
|
||||
|
Loading…
Reference in New Issue
Block a user