Sponsor:

Your company here, and a link to your site. Click to find out more.

caddy-validate - Man Page

Tests whether a configuration file is valid

Synopsis

caddy validate [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

11-Feb-2024 Auto generated by spf13/cobra

Referenced By

caddy(8).

Feb 2024 Auto generated by spf13/cobra