mirror of
https://github.com/caddyserver/xcaddy.git
synced 2024-11-03 07:50:30 +00:00
readme: Add env var docs
This commit is contained in:
parent
1d18c5862c
commit
e11b1988bd
1 changed files with 8 additions and 0 deletions
|
@ -109,6 +109,14 @@ Versions can be anything compatible with `go get`.
|
|||
|
||||
|
||||
|
||||
## Environment variables
|
||||
|
||||
Because the subcommands and flags are constrained to benefit rapid plugin prototyping, xcaddy does read some environment variables to take cues for its behavior and/or configuration when there is no room for flags.
|
||||
|
||||
- `CADDY_VERSION` sets the version of Caddy to build.
|
||||
- `XCADDY_RACE_DETECTOR=1` enables the Go race detector in the build.
|
||||
- `XCADDY_SKIP_CLEANUP=1` causes xcaddy to leave build artifacts on disk after exiting.
|
||||
|
||||
|
||||
---
|
||||
|
||||
|
|
Loading…
Reference in a new issue