Browse Source

fix: nginx caddy2

jonssonyan 2 năm trước cách đây
mục cha
commit
58c802023d
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      install_script.sh

+ 2 - 2
install_script.sh

@@ -636,8 +636,8 @@ install_caddy2() {
       fi
     done
 
-    if [[ -n $(lsof -i:${caddy_port},443 -t) ]]; then
-      kill -9 "$(lsof -i:${caddy_port},443 -t)"
+    if [[ -n $(lsof -i:${caddy_port} -t) ]]; then
+      kill -9 "$(lsof -i:${caddy_port} -t)"
     fi
 
     docker pull caddy:2.6.2 &&