Env: Add new env configuration (#874)

* Document root env configuration

* Format env documentation

* Align config module spacing

* Document Docker env config file

* Move env docs to basic config

* Add env to basic config sidebar

* Clarify root env behavior

* Refine environment variable documentation

---------

Co-authored-by: yiguo <yiguo@example.com>
This commit is contained in:
yiguodev
2026-07-10 13:05:06 +08:00
committed by GitHub
co-authored by yiguo
parent 5db24cc2d6
commit 63d932f42f
27 changed files with 391 additions and 265 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