feat: test1111
This commit is contained in:
parent
0a71899017
commit
e474bfdfa7
@ -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
|
||||||
|
1
main.py
1
main.py
@ -196,5 +196,4 @@ if __name__ == "__main__":
|
|||||||
run_purge_url(SECRETID, SECRETKEY, my_domain, config.URLS_FILE)
|
run_purge_url(SECRETID, SECRETKEY, my_domain, config.URLS_FILE)
|
||||||
# ecdn是全球加速服务,与CDN不同,本账号没有开通该功能
|
# ecdn是全球加速服务,与CDN不同,本账号没有开通该功能
|
||||||
# run_config_ecdn(SECRETID, SECRETKEY, my_domain, cert_id)
|
# run_config_ecdn(SECRETID, SECRETKEY, my_domain, cert_id)
|
||||||
print("成功执行本次CDN更新任务!")
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user