feat: test1

This commit is contained in:
yexinhao 2023-02-05 18:52:43 +08:00
parent 9f7cdb4f23
commit fa8de70e37

View File

@ -2,13 +2,13 @@
set -u set -u
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:-} \
--force --issue --cert-home ${CERT_HOME} \ # --force --issue --cert-home ${CERT_HOME} \
-d ${ACME_DOMAIN} -d *.${ACME_DOMAIN} \ # -d ${ACME_DOMAIN} -d *.${ACME_DOMAIN} \
--dns ${ACME_DNS_TYPE} # --dns ${ACME_DNS_TYPE}
fi #fi
# 添加刷新url # 添加刷新url
echo "${PUSH_URLS:-}" | tr ',' '\n' > ${WORK_DIR}/urls.txt echo "${PUSH_URLS:-}" | tr ',' '\n' > ${WORK_DIR}/urls.txt