Update docs to cover 1.5.0 (#280)

* Update missing DNS schemes

Add DNS over TCP
Add DNS over TCP local
Add DNS over QUIC local

* Tweaking details

* Refine DNS doc

* Add `tcpKeepAliveInterval` to SockOpt

According to [XTLS/Xray-core/pull/754]

* Add header and method to HTTP/2 transport

According to XTLS/Xray-core/#755

* Make it prettier

* Fix punctuations

* Add `pinnedPeerCertificateChainSha256` option

Added in 1.5.1 and now batch adding it into docs.

* Add `X-Real-IP` header note

Introduced in XTLS/Xray-core#769

* Add `certChainHash` note

* Update commands

Add `certChainHash`
Provide more details

* Add inbound missing contents

- Comma separated listening port segments
- New sniffers `fakedns+others` and `quic`
- New sniffing option `routeOnly`
- Some refinements

* Add domain socket access indicator

* Fix typo

* Update descriptions for FakeDNS

* Refine DNS over TCP

* Make it preetier in DNS doc

* Make the statement clear

* Attemp to make it prettier in inbound docs

* Update fakedns.md

* Update inbound.md

* Update fakedns.md

* Update grpc.md

* Update fakedns.md

* Update command.md

* Detailed description for `metadataOnly`

* `pinnedPeerCertificateChainSha256` should be a list
This commit is contained in:
Kobe Arthur Scofield
2022-06-20 22:16:41 -04:00
committed by GitHub
parent c5b5ae1a52
commit 6d04c95a7b
7 changed files with 260 additions and 30 deletions
+11 -6
View File
@@ -45,12 +45,16 @@ Xray. Multiple assign is accepted.
The -confdir=dir flag sets a dir with multiple json config
The -format=json flag sets the format of config files.
Default "json".
Default "auto".
The -test flag tells Xray to test config files only,
without launching the server
```
::: tip
配置文件除了默认的 JSON 格式外,也可以使用 TOML 和 YAML。在不指定格式的前提下会通过文件扩展名识别。
:::
### xray version
输出 Xray 版本、 Golang 版本等信息。
@@ -93,8 +97,9 @@ xray tls <command> [arguments]
```
```
cert Generate TLS certificates
ping Ping the domain with TLS handshake
cert Generate TLS certificates
ping Ping the domain with TLS handshake
certChainHash Calculate TLS certificates hash.
```
### xray uuid
@@ -104,12 +109,12 @@ xray tls <command> [arguments]
使用方法:
```
xray uuid
xray uuid [-i "example"]
```
::: tip
当`-config`没有指定时,Xray 将先后尝试从以下路径加载`config.json`:
当 `-config` 没有指定时,Xray 将先后尝试从以下路径加载 `config.json` :
- 工作目录(Working Directory)
- [环境变量](../config/features/env.md#资源文件路径)中`Xray.location.asset`所指定的路径
- [环境变量](../config/features/env.md#资源文件路径)中 `Xray.location.asset` 所指定的路径
:::