Desert Forge IT — Arizona IT · Field-tested tools & guidesFree consult →

Nginx to Caddy Config Converter

Convert Nginx server blocks to a Caddyfile. Best-effort — review output before deploying.

Best-effort tool
This converter handles common directives. Complex Nginx configs (regex locations, advanced map/if blocks, dynamic modules) may need manual review. Always test on a staging environment before deploying.

How to use

Paste your Nginx server block or click "Load sample" to see how it works. Click Convert to generate the equivalent Caddyfile. Caddy will handle TLS automatically, so you can drop the explicit ssl_certificate paths. Review the output and any warnings before using it on a real site.

Related Tools

Stuck on this in production? Desert Forge IT does remote Linux, Proxmox, and self-hosting work by the hour.

Email [email protected]·(480) 200-1795