caddy-environ - Man Page

Prints the environment


caddy environ [flags]


Prints the environment as seen by this Caddy process.

The environment includes variables set in the system. If your Caddy configuration uses environment variables (e.g. "{env.VARIABLE}") then this command can be useful for verifying that the variables will have the values you expect in your config.

Note that environments may be different depending on how you run Caddy. Environments for Caddy instances started by service managers such as systemd are often different than the environment inherited from your shell or terminal.

You can also print the environment the same time you use "caddy run" by adding the "--environ" flag.

Environments may contain sensitive data.


-h, --help[=false] help for environ

See Also



17-Aug-2023 Auto generated by spf13/cobra

Referenced By


Aug 2023 Auto generated by spf13/cobra