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:
Meow
2026-07-11 10:09:50 +08:00
co-authored by yiguodev
parent 5db24cc2d6
commit 93302d5c19
27 changed files with 461 additions and 197 deletions
+2 -2
View File
@@ -110,7 +110,7 @@ xray run -config http+unix:///run/xray-config.sock/config.json
When `-config` is not specified, Xray will attempt to load `config.json` from the following paths in order:
- Working Directory
- The path specified by `Xray.location.asset` in [Environment Variables](../config/features/env.md#resource-file-path)
- The path specified by `Xray.location.asset` in [Environment Variables](../config/env.md#resource-file-path)
:::
```bash
@@ -255,7 +255,7 @@ xray wg [-i "(base64.StdEncoding)"]
When `-config` is not specified, Xray will attempt to load `config.json` from the following paths in order:
- Working Directory
- The path specified by `Xray.location.asset` in [Environment Variables](../config/features/env.md#resource-file-path)
- The path specified by `Xray.location.asset` in [Environment Variables](../config/env.md#resource-file-path)
:::
### xray mldsa65
+1
View File
@@ -87,6 +87,7 @@ Two different styles of Docker images are currently provided:
- 09_metrics.json
- 10_observatory.json
- 11_geodata.json
- 12_env.json
- 99_version.json
- `/usr/local/share/xray/`: Resource file directory containing Loyalsoldier geolocation data files (owner: `65532:65532`, directory permissions: `755`, file permissions: `644`)
- geoip.dat