These days I'd rather develop on Caddy than Nginx.
Have there been any good in-depth comparisons of the two recently (from an admin/user PoV, out-of-the-box featureset & performance for common tasks). I've not seen anything recent that isn't entirely superficial (little more than “I prefer the config format”, which while valid isn't exactly in-depth or in-bredth).
Nginx Development Guide
11–20 of 39 posts
Re: Nginx Development Guide
#12Re: Nginx Development Guide
#13These days I'd rather develop on Caddy than Nginx.
Caddy is cool if you want sane defaults and not bother with anything for simple hosting. As soon as you get any drop of "not the default" poured into the mix the configuration becomes quite tedious really fast. I recommend Caddy to people getting into web stuff or that need something simple even if it's a production environment at this point. But anything "tuned" ends up with Nginx.
Re: Nginx Development Guide
#14These days I'd rather develop on Caddy than Nginx.
Re: Nginx Development Guide
#15These days I'd rather develop on Caddy than Nginx.
do you mean develop on Caddy itself or use Caddy as a webserver for a website you're developing?
Re: Nginx Development Guide
#16Earlier quoted context omitted.
Have there been any good in-depth comparisons of the two recently (from an admin/user PoV, out-of-the-box featureset & performance for common tasks). I've not seen anything recent that isn't entirely superficial (little more than “I prefer the config format”, which while valid isn't exactly in-depth or in-bredth).
https://news.ycombinator.com/item?id=32865497
- Both Caddy and nginx are really fast.
- Both can handle high traffic loads.
- Caddy and nginx have different failure modes. Nginx will drop requests. Caddy will hang onto them and serve them even if it takes longer.
(Note that "Caddy" is basically equivalent to "Go" -- we use its std lib HTTP implementation. It's really comparing Go and C.)
Re: Nginx Development Guide
#17Re: Nginx Development Guide
#18These days I'd rather develop on Caddy than Nginx.
I got Caddy to run on my vacuum cleaner in a few minutes with no prior experience. I think that's pretty cool.
Re: Nginx Development Guide
#19These days I'd rather develop on Caddy than Nginx.
Have there been any good in-depth comparisons of the two recently (from an admin/user PoV, out-of-the-box featureset & performance for common tasks). I've not seen anything recent that isn't entirely superficial (little more than “I prefer the config format”, which while valid isn't exactly in-depth or in-bredth).
The reasons for this are:
1. Automatic ACME integration in Caddy compared to the mess of containers something like nginx-proxy-manager is or the unreliability of external solutions like certbot or acme.sh
2. nginx's config. Footguns like if are well known, but even just if you want to deploy a nginx server with virtual hosts, did you know that if there is no Host header nginx serves the site evaluated first in its config file (even if the site has a server_name directive)? This is fine for an enterprise deployment where you probably only have one site behind nginx anyway, but as someone who has their side projects share servers to cut down on costs, it's really undesirable. There is a way around it by setting up a default host to explicitly serve errors, but it's just a chore I don't have on Caddy.
3. I can use Caddy on the CLI for testing also, in a way that's a more advanced replacement for python -m http.server etc. for more advanced use cases, or even just setting up server config rules.
Re: Nginx Development Guide
#20These days I'd rather develop on Caddy than Nginx.