From 276f17a3f13b9996a1faa4833a88366f2a1c6ee3 Mon Sep 17 00:00:00 2001 From: 233boy Date: Mon, 7 May 2018 16:38:22 +0800 Subject: [PATCH] add ws host --- config/client/ws_tls.json | 5 ++++- v2ray.sh | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/config/client/ws_tls.json b/config/client/ws_tls.json index 2dba9f3..a2b6144 100644 --- a/config/client/ws_tls.json +++ b/config/client/ws_tls.json @@ -37,7 +37,10 @@ "serverName": "233blog.com" }, "wsSettings": { - "path": "/233blog" + "path": "/233blog", + "headers": { + "Host": "233blog.com" + } } }, "mux": { diff --git a/v2ray.sh b/v2ray.sh index 6ebd1b2..bbc4302 100644 --- a/v2ray.sh +++ b/v2ray.sh @@ -10,7 +10,7 @@ none='\e[0m' # Root [[ $(id -u) != 0 ]] && echo -e " 哎呀……请使用 ${red}root ${none}用户运行 ${yellow}~(^_^) ${none}" && exit 1 -_version="v2.23" +_version="v2.24" cmd="apt-get"