caddy-validate - Tests whether a configuration file is validcaddy validate --config [--adapter ] [--envfile ] [flags]
Loads and provisions the provided config, but does not start running it. This reveals any errors with the configuration through the loading and provisioning stages.
If --envfile is specified, an environment file with environment variables in the KEY=VALUE format will be loaded into the Caddy process.
-a, --adapter="" Name of config adapter
-c, --config="" Input configuration file
--envfile=[] Environment file(s) to load
-h, --help[=false] help for validate
caddy(8)
16-Sep-2026 Auto generated by spf13/cobra
-