diff --git a/docker/update.sh b/docker/update.sh index 81893dc..2d70339 100644 --- a/docker/update.sh +++ b/docker/update.sh @@ -7,9 +7,7 @@ if [ "${ACME_ENABLED:=true}" = "true" ]; then ${ACME_HOME}/acme.sh ${ACME_PARAMS:-} \ --force --issue --cert-home ${CERT_HOME} \ -d ${ACME_DOMAIN} -d *.${ACME_DOMAIN} \ - --dns ${ACME_DNS_TYPE} \ - --key-file ${CERT_HOME}/${ACME_DOMAIN}/yevpt.com.key \ - --fullchain-file ${CERT_HOME}/${ACME_DOMAIN}/fullchain.cer + --dns ${ACME_DNS_TYPE} fi # 添加刷新url @@ -30,10 +28,10 @@ cat>${WORK_DIR}/config.py<<-EOF # acme.sh --issue -d "blog.whuzfb.cn" --dns dns_dp # 使用ACME申请的SSL完整证书的本地存放路径 -CER_FILE = "${CERT_HOME}/${ACME_DOMAIN}/fullchain.cer" +CER_FILE = "${CERT_HOME}/${ACME_DOMAIN}_ecc/fullchain.cer" # 使用ACME申请的SSL证书私钥的本地存放路径 -KEY_FILE = "${CERT_HOME}/${ACME_DOMAIN}/${ACME_DOMAIN}.key" +KEY_FILE = "${CERT_HOME}/${ACME_DOMAIN}_ecc/${ACME_DOMAIN}.key" # CDN服务配置的域名(需要提前在腾讯云网页前端创建) # 如果ACME申请的证书为泛域名证书,且要配置多个CDN加速