feat: test1111

This commit is contained in:
2023-02-05 18:59:18 +08:00
parent 0a71899017
commit e474bfdfa7
2 changed files with 7 additions and 8 deletions

View File

@ -2,13 +2,13 @@
set -u
#if [ "${ACME_ENABLED:=true}" = "true" ]; then
# # 使用acme获取/更新证书
# ${ACME_HOME}/acme.sh ${ACME_PARAMS:-} \
# --force --issue --cert-home ${CERT_HOME} \
# -d ${ACME_DOMAIN} -d *.${ACME_DOMAIN} \
# --dns ${ACME_DNS_TYPE}
#fi
if [ "${ACME_ENABLED:=true}" = "true" ]; then
# 使用acme获取/更新证书
${ACME_HOME}/acme.sh ${ACME_PARAMS:-} \
--force --issue --cert-home ${CERT_HOME} \
-d ${ACME_DOMAIN} -d *.${ACME_DOMAIN} \
--dns ${ACME_DNS_TYPE}
fi
# 添加刷新url
echo "${PUSH_URLS:-}" | tr ',' '\n' > ${WORK_DIR}/urls.txt