caddy-validate(8)

caddy-validate8

Tests whether a configuration file is valid

Usage

caddy validate [flags]

Overview

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.

Options

--adapter=""
Name of config adapter

--config=""
Input configuration file

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

Releases

2 releases since Debian 12 (Bookworm); the text changed 1 time.

  1. 12
  2. 13

History

10-Aug-2026 Auto generated by spf13/cobra

From caddy 2.6.2-12+deb13u1 in Debian 13 (Trixie). Parsed by carta from the page's man source.