Browse Source

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
pull/499/head
ちか 8 months ago committed by GitHub
parent
commit
7eb334a5ad
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 4
      docs/config/transports/websocket.md
  2. 6
      docs/document/command.md

4
docs/config/transports/websocket.md

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

6
docs/document/command.md

@ -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…
Cancel
Save