Sponsor:

Your company here ā€” click to reach over 10,000 unique daily visitors

caddy-validate - Man Page

Tests whether a configuration file is valid

Synopsis

caddy validate --config Ā [--adapter ] [--envfile ] [flags]

Description

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.

Options

-a, --adapter="" Name of config adapter

-c, --config="" Input configuration file

--envfile=[] Environment file(s) to load

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

See Also

caddy(8)

History

5-Jul-2024 Auto generated by spf13/cobra

Referenced By

caddy(8).

Jul 2024 Auto generated by spf13/cobra