DEV Community

Alex Spinov
Alex Spinov

Posted on

Caddy Has a Free Web Server With Automatic HTTPS and Zero Config

Caddy is a modern web server that auto-provisions and renews TLS certificates. Zero-config HTTPS.

What You Get for Free

  • Automatic HTTPS — Lets Encrypt + ZeroSSL
  • HTTP/3 — QUIC support built-in
  • Reverse proxy — load balancing, health checks
  • Single binary — no dependencies

Caddyfile

example.com {
  reverse_proxy localhost:3000
}
Enter fullscreen mode Exit fullscreen mode

HTTPS is automatic.

Caddy vs Nginx

Feature Caddy Nginx
HTTPS Automatic Manual
Config Caddyfile nginx.conf
HTTP/3 Built-in Module

Need web server setup? Check my work on GitHub or email spinov001@gmail.com for consulting.

Top comments (0)