修改acme和nginx
This commit is contained in:
parent
0234d2207e
commit
b13ba8591c
@ -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')
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user