修改acme和nginx

This commit is contained in:
lsy 2024-09-25 18:20:03 +08:00
parent 0234d2207e
commit b13ba8591c
2 changed files with 1 additions and 8 deletions

View File

@ -85,13 +85,6 @@ EOF
echo "请到服务器将80和443端口开启,将域名解析到本机"
read -p "解析完成请回车:"
eval "${HOME}/.acme.sh/acme.sh --issue ${domain_str} --${mode}"
for (( i = 0; i < 6; i++ )); do
sleep 15
if [[ -d "${HOME}/.acme.sh/$(echo "${domain}" | awk '{print $2}')_ecc/fullchain.cer" ]]; then
break
fi
done
rm /etc/nginx/conf.d/test.conf
;;
'2')

View File

@ -51,7 +51,7 @@ case $pick in
fi
else
echo "1.nginx(默认)"
read -p "请选择" pick
read -p "请选择" pick
bash "${path_script}/Config/Web/acme.sh" "nginx" "${domain}"
fi