Caddyfile Generator
Create Caddy server configurations visually
No sites configured yet. Add your first site!
How to build a Caddyfile
The generator turns your input into a ready-to-use Caddy configuration. Everything runs in your browser; nothing is sent to a server.
Add a site
Enter the domain and pick a type: reverse proxy or file server. Caddy fetches the TLS certificate on its own.
Enable options
Basic auth, load balancing, compression, headers, redirects or a DNS challenge for wildcard certificates can be switched on as needed.
Use the Caddyfile
Copy the output, save it as Caddyfile and check it with caddy validate. Then apply it with caddy reload.