mirror of
https://github.com/XTLS/Xray-docs-next.git
synced 2025-04-05 06:13:35 +03:00
Update commands
Add `certChainHash` Provide more details
This commit is contained in:
parent
0589684131
commit
e832e96003
1 changed files with 10 additions and 5 deletions
|
@ -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,7 +109,7 @@ xray tls <command> [arguments]
|
|||
使用方法:
|
||||
|
||||
```
|
||||
xray uuid
|
||||
xray uuid [-i "example"]
|
||||
```
|
||||
|
||||
::: tip
|
||||
|
@ -112,4 +117,4 @@ xray uuid
|
|||
|
||||
- 工作目录(Working Directory)
|
||||
- [环境变量](../config/features/env.md#资源文件路径)中`Xray.location.asset`所指定的路径
|
||||
:::
|
||||
:::
|
||||
|
|
Loading…
Add table
Reference in a new issue