WEB SERVER MIGRATION TOOL

Nginx & Apache ➔ Caddyfile Transpiler

Convert legacy Nginx and Apache configurations into clean, idiomatic Caddyfiles in real-time. Runs 100% client-side in your browser for privacy.

1-Click Presets:
Nginx (nginx.conf / server)
Generated Caddyfile

Migration Advisories & Optimisations

Paste or select a configuration above to see automated migration advisories and smart mappings.

Directives Eliminated / Handled Natively

  • None detected

Detected Features & Routing

  • None detected

Smart Mapping & Why Caddy is Simpler

🚀

Reverse Proxy & Headers

proxy_pass + 5 lines of proxy_set_header collapse to a single reverse_proxy. Host, X-Forwarded-For, and WebSockets are handled automatically.

proxy_pass http://127.0.0.1:3000;
proxy_set_header Host $host;
proxy_set_header Upgrade $http_upgrade;
reverse_proxy 127.0.0.1:3000

Automatic HTTPS

ssl_certificate directives are stripped. Caddy automatically issues, renews, and configures TLS via Let's Encrypt / ZeroSSL.

ssl_certificate /etc/letsencrypt/...;
ssl_certificate_key /etc/letsencrypt/...;
# Automatic HTTPS (Zero config)

PHP-FPM Router

try_files + fastcgi_pass and param scripts collapse into php_fastcgi and file_server.

try_files $uri $uri/ /index.php?$args;
fastcgi_pass unix:/run/php.sock;
php_fastcgi unix//run/php.sock
file_server
🔒

Clean Redirects

Complex regex RewriteRules translate directly into human-readable redir statements.

RewriteRule ^blog/(.*)$ /posts/$1 [R=301,L]
redir /blog/* /posts/{1} permanent