I've recently fallen in love with Caddy.

I have to admit I've only used nginx as a reverse proxy previously.

Reply to this note

Please Login to reply.

Discussion

Caddy is my weapon of choice. Sensible defaults make for easy config 99% of the time.

Nice! I’ll have to check it out. Been a nginx maximalist for a while.

Now my turn to admit I’ve never used Caddy. What do you love about it?

The configuration is dead simple, built in letsencrypt and SSL upgrade management, and I've got three docker instances behind it as a reverse proxy and it's only consuming ~40 MB of RAM.

Oh, and it's written in Go, so no dependencies so launching it in docker is a stupid small image.

can it discover the docker instances like traefik does?

If by discover you mean can you use the container name for the redirect, yes. I've never used traefik so I'm not 💯 that's what you meant though.

ah ok but you‘d still have to know the name, got it. yeah caddy is cool..

with traefik you can use some kind of config discovery backend like consul etc..