diff --git a/Config/Web/acme.sh b/Config/Web/acme.sh index 53f9286..edbe0fe 100644 --- a/Config/Web/acme.sh +++ b/Config/Web/acme.sh @@ -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') diff --git a/Config/Web/nginx.sh b/Config/Web/nginx.sh index 3ace1c5..30b8d36 100644 --- a/Config/Web/nginx.sh +++ b/Config/Web/nginx.sh @@ -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