mirror of
https://github.com/XTLS/Xray-docs-next.git
synced 2025-01-19 09:11:40 +03:00
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:
parent
d20c42f63e
commit
7eb334a5ad
@ -16,9 +16,9 @@ Websocket 会识别 HTTP 请求的 X-Forwarded-For 头来覆写流量的源地
|
||||
{
|
||||
"acceptProxyProtocol": false,
|
||||
"path": "/",
|
||||
"host": "xray.com"
|
||||
"host": "xray.com",
|
||||
"headers": {
|
||||
"host": "xray.com"
|
||||
"key": "value"
|
||||
}
|
||||
}
|
||||
```
|
||||
|
@ -64,6 +64,12 @@ The -dump flag tells Xray to print the merged config.
|
||||
配置文件除了默认的 JSON 格式外,也可以使用 TOML 和 YAML。在不指定格式的前提下会通过文件扩展名识别。
|
||||
:::
|
||||
|
||||
```
|
||||
xray run -dump
|
||||
```
|
||||
|
||||
用以输出多文件配置融合之后的结果。
|
||||
|
||||
### xray version
|
||||
|
||||
输出 Xray 版本、 Golang 版本等信息。
|
||||
|
Loading…
x
Reference in New Issue
Block a user