๐ŸŸข Caddy Config Generator

Visually generate Caddy server Caddyfile โ€” Reverse Proxy / Auto HTTPS / Load Balancing / Rewrite Rules
Zero Dependencies | No Signup, Client-Side ยท No Server Uploads

๐ŸŒ Site Basic Settings

๐Ÿ”’ HTTPS / TLS Configuration
๐Ÿ”„ Reverse Proxy
๐Ÿ“ Rewrite Rules
๐Ÿ›ก๏ธ Access Control & Security
โšก Logging & Performance
Click "Generate Config" to see results...

What Can the Caddy Config Generator Do?

The Caddy Config Generator is a free online tool that helps developers and sysadmins quickly generate Caddy server Caddyfile configuration through a visual interface. It supports reverse proxy, auto HTTPS certificate management, load balancing, URL rewriting, access control, and rate limiting. All processing is done locally in your browser with zero data upload.

Core Features

How to Use

1. Enter your site address (domain or IP:port)

2. Choose HTTPS mode: auto certificate, internal CA, or manual

3. For reverse proxy, enable and configure backend URL and load balancing

4. Configure rewrite rules, access control, and security options

5. Set log format and custom directives

6. Click "Generate Config" to preview the Caddyfile, then copy or download

Use Cases

Case 1: Web Application Deployment

Quickly generate Caddy config to reverse proxy your domain to Node.js/Python/Go backends with automatic HTTPS certificates.

Case 2: Microservice Gateway

Configure multiple backends for load balancing with health checks to ensure service availability.

Case 3: Static Site Hosting

Configure file_server directive to host static files with auto HTTPS and custom response headers.

Case 4: API Gateway

Configure path rewriting and reverse proxy to route API requests to different microservices with rate limiting.

Technical Background

Caddy is a modern web server known for automatic HTTPS and clean Caddyfile syntax. Compared to Nginx/Apache, Caddy's configuration is more concise and intuitive, with no manual SSL certificate management needed. Caddy 2.x is written in Go, offering excellent performance and modular extensibility. The Caddyfile uses directive-based syntax where each directive occupies one line, and block directives are wrapped in curly braces. The reverse_proxy directive supports active/passive health checks, request rewriting, and response handling. Let's Encrypt manages certificate lifecycles through the ACME protocol; Caddy defaults to HTTP-01 validation but also supports DNS-01 and TLS-ALPN-01.

โ“ What can the Caddy Config Generator do?

Generates Caddy server Caddyfile configuration through a visual interface. Supports reverse proxy, auto HTTPS, load balancing, rewrite rules, and access control.

โ“ Does it support auto HTTPS?

Yes. Caddy's built-in ACME client automatically obtains and renews Let's Encrypt certificates.

โ“ Does it support load balancing?

Yes. Configure multiple backends with round_robin, least_conn, or ip_hash strategies.

โ“ Can the generated Caddyfile be used directly?

Yes. Generated configs follow Caddy 2.x syntax standards and can be used immediately.

โ“ Does it support WebSocket proxy?

Yes. Caddy's reverse_proxy supports WebSocket upgrades by default.

โ“ Does this tool upload my data?

No. All config generation is done locally in your browser. No data is sent to any server.

Caddy Config Generator | No Signup, Client-Side ยท No Server Uploads

Feedback: dexshuang@google.com