LIVE
bdnews24.netAICryptoSecurity
Дмитрий К.@dmitry_opsarticle

Switching from Nginx to Caddy: First Impressions

Tried replacing Nginx with Caddy for a pet project: automatic HTTPS, 5-line configs, and HTTP/3 support - but missing dynamic modules.

Читать на русском

ДК

Decided to try Caddy instead of Nginx for a pet project. Three main reasons:

  1. Automatic HTTPS out of the box
  2. 5-line configs instead of 50
  3. HTTP/3 support without complex setup
    1. What worked well

      Set up in 10 minutes. The config looks like this:

      example.com {
      reverse_proxy localhost:3000
      }

      No certbot, reloads, or syntax checks. HTTPS worked immediately.

      Pain points

      Modules must be compiled into the binary. No dynamic loading like Nginx. Requires rebuilds for every update.

      Keeping Nginx for production. But for personal projects - it's deployed and working.

0 likes0 comments

No comments yet.