Scroll to navigation

Caddy(8) Caddy(8)

NAME

caddy-environ - Prints the environment

SYNOPSIS

caddy environ [flags]

DESCRIPTION

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.

OPTIONS

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

SEE ALSO

caddy(8)

HISTORY

17-Apr-2023 Auto generated by spf13/cobra

Apr 2023 Auto generated by spf13/cobra