|
|
@@ -235,6 +235,11 @@ local Xray = {
|
|
|
host = (server.httpupgrade_host or server.tls_host) or nil,
|
|
|
path = server.httpupgrade_path or ""
|
|
|
} or nil,
|
|
|
+ splithttpSettings = (server.transport == "splithttp") and {
|
|
|
+ -- splithttp
|
|
|
+ host = (server.splithttp_host or server.tls_host) or nil,
|
|
|
+ path = server.splithttp_path or ""
|
|
|
+ } or nil,
|
|
|
httpSettings = (server.transport == "h2") and {
|
|
|
-- h2
|
|
|
path = server.h2_path or "",
|