Chapter II
Welcome to Caddy: A Modular Web Server Platform
Caddy is a Go program built around a small, generic module/plugin runtime (package caddy) that knows nothing about HTTP; everything web-server-specific — routing, TLS, file serving, reverse proxying — is implemented as pluggable modules loaded from a single JSON config document. New engineers should first understand the config lifecycle (load → provision modules → start apps) in caddy.go, then see how the caddyhttp app turns that config into an actual request-handling pipeline.