|
@@ -90,10 +90,10 @@ outbound = {
|
|
|
},
|
|
|
seed = server.seed or nil
|
|
|
} or nil,
|
|
|
- wsSettings = (server.transport == "ws") and (server.ws_path or server.ws_host) and {
|
|
|
+ wsSettings = (server.transport == "ws") and (server.ws_path or server.ws_host or server.tls_host) and {
|
|
|
path = server.ws_path,
|
|
|
- headers = (server.ws_host) and {
|
|
|
- Host = server.ws_host
|
|
|
+ headers = (server.ws_host or server.tls_host) and {
|
|
|
+ Host = server.ws_host or server.tls_host
|
|
|
} or nil,
|
|
|
} or nil,
|
|
|
httpSettings = (server.transport == "h2") and {
|