mirror of
https://github.com/XTLS/Xray-docs-next.git
synced 2025-02-22 17:33:13 +03:00
Update the description of assets' location (#134)
* Update the description of assets' location Co-authored-by: Arthur Morgan <4637240+badO1a5A90@users.noreply.github.com>
This commit is contained in:
parent
50e6a0936a
commit
10aef49dd7
@ -29,9 +29,15 @@ Xray 提供以下环境变量以供修改 Xray 的一些底层配置。
|
|||||||
## 资源文件路径
|
## 资源文件路径
|
||||||
|
|
||||||
- 名称:`xray.location.asset` 或 `XRAY_LOCATION_ASSET`。
|
- 名称:`xray.location.asset` 或 `XRAY_LOCATION_ASSET`。
|
||||||
- 默认值:和 Xray 文件同路径。
|
- 默认值:特定 [FHS](https://en.wikipedia.org/wiki/Filesystem_Hierarchy_Standard) 目录或 Xray 文件同路径。
|
||||||
|
|
||||||
这个环境变量指定了一个文件夹位置,这个文件夹应当包含 geoip.dat 和 geosite.dat 文件。
|
这个环境变量指定了一个文件夹位置,这个文件夹应当包含 geoip.dat 和 geosite.dat 文件。
|
||||||
|
若无指定变量值,程序将会按以下顺序寻找资源文件:
|
||||||
|
```
|
||||||
|
./
|
||||||
|
/usr/local/share/xray
|
||||||
|
/usr/share/xray
|
||||||
|
```
|
||||||
|
|
||||||
## 配置文件位置
|
## 配置文件位置
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user