Hacker News new | ask | show | jobs
by beingflo 1267 days ago
Caddy [0] has been an absolute joy to work with. I switched this year from nginx for my sideproject-hosting VPS. Just letting it handle the SSL certs and configuring a static site or a reverse proxied route in literally 3 lines of config is really nice.

I'm planning on adding Authelia [1], Prometheus and Grafana Loki to the mix soon, which should all integrate nicely :)

[0] https://caddyserver.com/ [1] https://www.authelia.com/

2 comments

Interesting! I liked the configurability, but it was horribly slow with SSL. Possibly due to uncached DNS lookups but I didn’t dig too deep.
I've only started load testing my applications until after I switched to Caddy, so I don't have a comparison. But I'm easily seeing ~7'000 r/s when serving a static frontend (don't have reverse proxy numbers on hand) on a small hetzner machine. That's without looking into what the bottleneck is. Against localhost I've seen ~50'000 r/s. Good enough for me.
Caddy + fcgiwrap makes it almost painless to run shell scripts remotely (with SSL + basic auth).