Just swithched over to using Caddy as my web server, it's great.

Really enjoying the automatic HTTPS being builtin. The config system, via Caddyfiles, is nice too - plays nicely with custom Docker images.

#homelab

Reply to this note

Please Login to reply.

Discussion

Me too. Every time I mess with nginx something bad happens. Caddy in docker is so clean.

The cleanliness is what I love. All fully self-contained, it is great.

Now I could self-contain NGINX, but I just never thought of it.

Either way, I like Caddy more, seems more capable and simpler.

The Automatic HTTPS is really what sold me.

Caddy definitely offers a better developer experience, but I'm just too familiar with nginx to migrate.

This setup works well with Docker: https://github.com/nginx-proxy/nginx-proxy/

I'm using a variant of the three-container setup, and I really can't complain. It's quite a workhorse, handling everything from DNS ACME challenges to reasonably complex reverse proxying over IPv6 (both through the host network and virtualised networks), non-HTTP streams, and more.

The only painful part, in my opinion, is injecting nginx config fragments per host, installing plugins, and so on when you need to go low level. But I find myself doing that less and less these days.

Have a seperate ACME container sounds useful tbh, I wanted to do Caddy HTTPS and Ejabberd under the same host.

So I may need that eventually...