Caddy guides
Hands-on guides that cover Caddy. Every command is run and verified on a live server before it is published.
GuideInstall Caddy and the Caddyfile Model
See a live HTTPS site first, then install Caddy on a bare Ubuntu 24.04 slice from the official apt repo and meet the Caddyfile that replaces the nginx config tree.
GuideServe a Static Site with Caddy's Automatic HTTPS
Point Caddy at a domain and watch its automatic HTTPS obtain a certificate with zero config, then load the static site over TLS 1.3 in a browser.
GuideReverse Proxy an App with Caddy
Put a Caddy reverse proxy in front of an app: forwarded headers, transparent websockets, and round-robin load balancing across two backends with health checks.
GuideServe PHP with Caddy and php-fpm
Serve PHP with Caddy by wiring php_fastcgi to php-fpm on Ubuntu 24.04, then watch a dynamic page execute over HTTPS through a single directive.
GuideProduction Caddy: Headers, Logging and Rate Limiting
Take Caddy to production: security headers, structured JSON logging, rate limiting, systemd hardening, and a graceful reload that swaps config with no downtime.