From 6b4486e9c634e6223dcdcc284f0af064e55c4c74 Mon Sep 17 00:00:00 2001 From: yexinhao Date: Sun, 5 Feb 2023 18:29:35 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E4=BF=AE=E6=94=B9update.sh=E9=87=8C?= =?UTF-8?q?=E5=9F=9F=E5=90=8D=E7=9A=84=E8=BE=93=E5=87=BA=E7=9B=AE=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docker/update.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/docker/update.sh b/docker/update.sh index fd71f08..7bbf919 100644 --- a/docker/update.sh +++ b/docker/update.sh @@ -4,7 +4,12 @@ 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} + ${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 \ fi # 添加刷新url