Man page - caddy-adapt(8)
Packages contas this manual
- caddy-list-modules(8)
- caddy-validate(8)
- caddy-reverse-proxy(8)
- caddy-fmt(8)
- caddy-start(8)
- caddy(8)
- caddy-completion(8)
- caddy-version(8)
- caddy-stop(8)
- caddy-trust(8)
- caddy-manpage(8)
- caddy-reload(8)
- caddy-adapt(8)
- caddy-respond(8)
- caddy-untrust(8)
- caddy-build-info(8)
- caddy-file-server(8)
- caddy-hash-password(8)
- caddy-environ(8)
- caddy-run(8)
apt-get install caddy
Manual
| Caddy(8) | Caddy(8) |
NAME
caddy-adapt - Adapts a configuration to Caddy's native JSON
SYNOPSIS
caddy adapt [flags]
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.
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)
HISTORY
12-Jul-2025 Auto generated by spf13/cobra
| Jul 2025 | Auto generated by spf13/cobra |