Skip to content
Errors
Commands
Flags
Config
Cheat sheets
Changes
Compat
Codes
Compare
Glossary
Search
Ctrl K
Browse
Error Messages
Commands
Flags & Options
Config Reference
Cheat Sheets
Version Changes
Compatibility
Codes & Tables
X vs Y
Glossary
All tools
Home
Tools
Caddy
Web servers & proxies
Caddy
Web server with automatic HTTPS.
Official documentation
Errors
1
Flags
1
Compare
1
Caddy: Caddyfile:2: unrecognized directive
Caddy fails with Caddyfile:N: unrecognized directive for a misspelled directive, a plugin missing from the binary, or a global option inside a site block.
All Caddy error messages
caddy fmt --overwrite and --diff: format a Caddyfile
caddy fmt prints a Caddyfile in canonical style with tabs; --overwrite rewrites the file in place, --diff shows the changes, and it exits non-zero if needed.
All Caddy flags & options
Caddy vs nginx: HTTPS, configuration and performance compared
Caddy gets and renews HTTPS certificates automatically with a few lines of config; nginx needs certbot or similar but has more modules, docs and tuning.
All Caddy x vs y
Esc