DEV Community

Alex Spinov
Alex Spinov

Posted on

Caddy Has a Free Web Server with Automatic HTTPS — Zero-Config SSL for Every Site

A developer spent 2 hours setting up Let's Encrypt with certbot and Nginx. Then the certificate expired 3 months later because the cron job was wrong.

Caddy is a web server that automatically provisions and renews HTTPS certificates. No certbot, no cron jobs, no manual renewal. Just works.

What Caddy Offers for Free

  • Automatic HTTPS - Provisions and renews Let's Encrypt certs automatically
  • Simple Config - Caddyfile syntax is human-readable
  • Reverse Proxy - Route to backend services with one line
  • Load Balancing - Built-in load balancing
  • HTTP/3 - Supports QUIC protocol
  • On-Demand TLS - Get certs for new domains on first request
  • API - Full REST API for dynamic configuration

Quick Start

# Caddyfile
example.com {
    reverse_proxy localhost:3000
}
# That is it. HTTPS is automatic.
Enter fullscreen mode Exit fullscreen mode

GitHub: caddyserver/caddy - 61K+ stars


Need to monitor and scrape data from multiple web services automatically? I build custom scraping solutions. Check out my web scraping toolkit or email me at spinov001@gmail.com for a tailored solution.

Top comments (0)