Browse Source

fix: https enable

jonssonyan 3 years ago
parent
commit
dddd953f52
1 changed files with 2 additions and 0 deletions
  1. 2 0
      install_script.sh

+ 2 - 0
install_script.sh

@@ -560,6 +560,7 @@ server {
     }
 }
 EOF
+        break
       else
         if [[ ${https_enable} != 0 ]]; then
           echo_content red "不可以输入除0和1之外的其他字符"
@@ -586,6 +587,7 @@ server {
     }
 }
 EOF
+          break
         fi
       fi
     done