From 9bb34dacba9bf60b3fb161f65f2f97490f9e70ee Mon Sep 17 00:00:00 2001 From: lsy Date: Wed, 25 Sep 2024 01:17:03 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9nginx?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Config/Web/acme.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Config/Web/acme.sh b/Config/Web/acme.sh index 3b4f7ff..3d4dfcc 100644 --- a/Config/Web/acme.sh +++ b/Config/Web/acme.sh @@ -55,9 +55,9 @@ read -p "请选择验证模式:" pick_mode case $pick_mode in '1') declare mode - if ! command -v nginx &> /dev/null; then + if command -v nginx &> /dev/null; then mode="nginx" - elif ! command -v apache &> /dev/null; then + elif command -v apache &> /dev/null; then mode="apache" else mode="standalone"