feat(脚本): 优化检查nginx是否访问之前的时间停顿

pull/534/merge
mack-a 2021-01-15 15:57:23 +08:00
parent 5e9ece3be5
commit 13620c2535
1 changed files with 1 additions and 0 deletions

View File

@ -479,6 +479,7 @@ initTLSNginxConfig() {
checkIP
# 测试nginx
echoContent yellow "\n检查Nginx是否正常访问"
sleep 0.5
domainResult=$(curl -s "${domain}/test" | grep fjkvymb6len)
if [[ -n ${domainResult} ]]; then
handleNginx stop