1Caddy(8) Caddy(8)
2
3
4
6 caddy-environ - Prints the environment
7
8
9
11 caddy environ [flags]
12
13
14
16 Prints the environment as seen by this Caddy process.
17
18
19 The environment includes variables set in the system. If your Caddy
20 configuration uses environment variables (e.g. "{env.VARIABLE}") then
21 this command can be useful for verifying that the variables will have
22 the values you expect in your config.
23
24
25 If --envfile is specified, an environment file with environment vari‐
26 ables in the KEY=VALUE format will be loaded into the Caddy process.
27
28
29 Note that environments may be different depending on how you run Caddy.
30 Environments for Caddy instances started by service managers such as
31 systemd are often different than the environment inherited from your
32 shell or terminal.
33
34
35 You can also print the environment the same time you use "caddy run" by
36 adding the "--environ" flag.
37
38
39 Environments may contain sensitive data.
40
41
42
44 --envfile=[] Environment file(s) to load
45
46
47 -h, --help[=false] help for environ
48
49
50
52 caddy(8)
53
54
55
57 30-Oct-2023 Auto generated by spf13/cobra
58
59
60
61Auto generated by spf13/cobra Oct 2023 Caddy(8)