Some corrections

* Update wireguard.md

* Update command.md

* Update transport.md

* Update routing.md

* Update routing.md

* Update transport.md

* Update websocket.md

* Update httpupgrade.md
This commit is contained in:
ちか 2024-03-31 02:53:31 +08:00 committed by GitHub
parent d20c42f63e
commit 7eb334a5ad
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 8 additions and 2 deletions

View File

@ -16,9 +16,9 @@ Websocket 会识别 HTTP 请求的 X-Forwarded-For 头来覆写流量的源地
{
"acceptProxyProtocol": false,
"path": "/",
"host": "xray.com"
"host": "xray.com",
"headers": {
"host": "xray.com"
"key": "value"
}
}
```

View File

@ -64,6 +64,12 @@ The -dump flag tells Xray to print the merged config.
配置文件除了默认的 JSON 格式外,也可以使用 TOML 和 YAML。在不指定格式的前提下会通过文件扩展名识别。
:::
```
xray run -dump
```
用以输出多文件配置融合之后的结果。
### xray version
输出 Xray 版本、 Golang 版本等信息。