miniblog.

← Back to all posts
64
Caddy is really growing on me. It's nice having a web proxy that includes letsencrypt functionality without any additional configuration. I've tended to use nginx with a separate letsencrypt setup for projects before, and it's much more awkward.

4 Comments

@wilfredh I love Caddy so much. It set out to make it super easy to do 90% of what you'd wanna do, and it succeeds!
@wilfredh I was also using Caddy for this reason, but then I switched to Nix, and I can do just this: security.acme.acceptTerms = true; security.acme.certs.${domain}.email = "my-email@example.com"; services.nginx.virtualHosts.${domain}.enableAcme = true; 3 lines, and it "just works". And no need for Go overhead. There were some... debatable descisions made by the author in the past, but looks like they were reverted. I remember v2 upgrade was also quite painful. So overall was a bit cautious towards Caddy and now with NixOS, running Nginx is even easier and more stable.