Update genv2config.lua (#1855)

v2ray config fix.
This commit is contained in:
ryulamp 2019-10-24 14:38:41 +08:00 committed by coolsnowwolf
parent 4c705863f9
commit 990921c471

View File

@ -46,7 +46,7 @@ local v2ray = {
streamSettings = {
network = server.transport,
security = (server.tls == '1') and "tls" or "none",
tlsSettings = {allowInsecure = (server.insecure == "1") and true or false,},
tlsSettings = {allowInsecure = (server.insecure == "1") and true or false,serverName=server.ws_host,},
kcpSettings = (server.transport == "kcp") and {
mtu = tonumber(server.mtu),
tti = tonumber(server.tti),