mirror of
https://github.com/XTLS/Xray-docs-next.git
synced 2026-10-09 07:09:59 +03:00
Env: Add new env configuration (#874)
https://github.com/XTLS/Xray-core/pull/6400 Co-authored-by: yiguodev <147401898+yiguodev@users.noreply.github.com>
This commit is contained in:
@@ -110,7 +110,7 @@ xray run -config http+unix:///run/xray-config.sock/config.json
|
||||
当 `-config` 没有指定时,Xray 将先后尝试从以下路径加载 `config.json` :
|
||||
|
||||
- 工作目录(Working Directory)
|
||||
- [环境变量](../config/features/env.md#资源文件路径)中 `Xray.location.asset` 所指定的路径
|
||||
- [环境变量](../config/env.md#资源文件路径)中 `Xray.location.asset` 所指定的路径
|
||||
:::
|
||||
|
||||
```bash
|
||||
@@ -255,7 +255,7 @@ xray wg [-i "(base64.StdEncoding)"]
|
||||
当 `-config` 没有指定时,Xray 将先后尝试从以下路径加载 `config.json` :
|
||||
|
||||
- 工作目录(Working Directory)
|
||||
- [环境变量](../config/features/env.md#资源文件路径)中 `Xray.location.asset` 所指定的路径
|
||||
- [环境变量](../config/env.md#资源文件路径)中 `Xray.location.asset` 所指定的路径
|
||||
:::
|
||||
|
||||
### xray mldsa65
|
||||
|
||||
@@ -88,6 +88,7 @@ Xray 提供两种验证方式:
|
||||
- 09_metrics.json
|
||||
- 10_observatory.json
|
||||
- 11_geodata.json
|
||||
- 12_env.json
|
||||
- 99_version.json
|
||||
- `/usr/local/share/xray/`:资源文件目录,存放了 Loyalsoldier 版本地理位置数据文件(拥有者是 `65532:65532`、目录权限 `755`、文件权限 `644`)
|
||||
- geoip.dat
|
||||
|
||||
Reference in New Issue
Block a user