caddy-adapt - Adapts a configuration to Caddy's native JSON
Contents
Description
Adapts a configuration to Caddy's native JSON format and writes the output to stdout, along with any
warnings to stderr.
If --pretty is specified, the output will be formatted with indentation for human readability.
If --validate is used, the adapted config will be checked for validity. If the config is invalid, an
error will be printed to stderr and a non- zero exit status will be returned.
History
10-May-2025 Auto generated by spf13/cobra
Auto generated by spf13/cobra May 2025 Caddy(8)
Name
caddy-adapt - Adapts a configuration to Caddy's native JSON
Options
--adapter="caddyfile" Name of config adapter
--config="" Configuration file to adapt (required)
-h, --help[=false] help for adapt
--pretty[=false] Format the output for human readability
--validate[=false] Validate the output
See Also
caddy(8)Synopsis
caddyadapt[flags]
