add ws host

This commit is contained in:
233boy
2018-05-07 16:38:22 +08:00
parent 9383e69aaa
commit 276f17a3f1
2 changed files with 5 additions and 2 deletions

View File

@@ -37,7 +37,10 @@
"serverName": "233blog.com" "serverName": "233blog.com"
}, },
"wsSettings": { "wsSettings": {
"path": "/233blog" "path": "/233blog",
"headers": {
"Host": "233blog.com"
}
} }
}, },
"mux": { "mux": {

View File

@@ -10,7 +10,7 @@ none='\e[0m'
# Root # Root
[[ $(id -u) != 0 ]] && echo -e " 哎呀……请使用 ${red}root ${none}用户运行 ${yellow}~(^_^) ${none}" && exit 1 [[ $(id -u) != 0 ]] && echo -e " 哎呀……请使用 ${red}root ${none}用户运行 ${yellow}~(^_^) ${none}" && exit 1
_version="v2.23" _version="v2.24"
cmd="apt-get" cmd="apt-get"