修改nginx

This commit is contained in:
lsy 2024-09-25 01:17:03 +08:00
parent de7c16a890
commit 9bb34dacba

View File

@ -55,9 +55,9 @@ read -p "请选择验证模式:" pick_mode
case $pick_mode in case $pick_mode in
'1') '1')
declare mode declare mode
if ! command -v nginx &> /dev/null; then if command -v nginx &> /dev/null; then
mode="nginx" mode="nginx"
elif ! command -v apache &> /dev/null; then elif command -v apache &> /dev/null; then
mode="apache" mode="apache"
else else
mode="standalone" mode="standalone"