From 52976c23c976eb16ee7cdc1d1037013164c5fdc2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=94=AC=E5=93=A5=E4=BE=83=E4=BE=83=E4=BE=83ygkkk?= <121604513+yonggekkk@users.noreply.github.com> Date: Sun, 2 Mar 2025 15:46:27 +0800 Subject: [PATCH] Update serv00keep.sh --- serv00keep.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/serv00keep.sh b/serv00keep.sh index ddbb000..e10523f 100644 --- a/serv00keep.sh +++ b/serv00keep.sh @@ -267,7 +267,7 @@ openssl req -new -x509 -days 3650 -key "private.key" -out "cert.pem" -subj "/CN= { "tag": "hysteria-in1", "type": "hysteria2", - "listen": "$(dig @8.8.8.8 +time=5 +short "web$nb.serv00.com")", + "listen": "$(dig @8.8.8.8 +time=5 +short "web$nb.serv00.com" | sort -u)", "listen_port": $hy2_port, "users": [ { @@ -288,7 +288,7 @@ openssl req -new -x509 -days 3650 -key "private.key" -out "cert.pem" -subj "/CN= { "tag": "hysteria-in2", "type": "hysteria2", - "listen": "$(dig @8.8.8.8 +time=5 +short "$HOSTNAME")", + "listen": "$(dig @8.8.8.8 +time=5 +short "$HOSTNAME" | sort -u)", "listen_port": $hy2_port, "users": [ { @@ -309,7 +309,7 @@ openssl req -new -x509 -days 3650 -key "private.key" -out "cert.pem" -subj "/CN= { "tag": "hysteria-in3", "type": "hysteria2", - "listen": "$(dig @8.8.8.8 +time=5 +short "cache$nb.serv00.com")", + "listen": "$(dig @8.8.8.8 +time=5 +short "cache$nb.serv00.com" | sort -u)", "listen_port": $hy2_port, "users": [ { @@ -1052,9 +1052,9 @@ cat > list.txt <