3 ms·
Easier in what sense? If you find the most esoteric feature and then claim it's easier for that purpose, that doesn't count! If you're going to claim it's easie
by soheil 4y ago
Easier in what sense? If you find the most esoteric feature and then claim it's easier for that purpose, that doesn't count! If you're going to claim it's easier to configure than nginx you have to make a fair comparison by comparing not the features that you care about, but instead the features that define the system as a whole.
- rstupek 4y agoI would think automatic support for TLS, no configuration necessary, would qualify?
- soheil 4y agoYou mean? certbot --nginx
- NicolaiS 4y agoYou are missing the steps to install, setup, cronjob, for certbot. What about HTTP->HTTPS redirection, etc? Same for secure cipher selection. All of that Caddy gives you in 1 line of config (i.e. domain name)
- soheil 4y agoFunny you mention those because the line above automatically adds all those for you including https redir for all your vhosts.
- joshmanders 4y agoThe biggest thing you miss is that nginx doesn't do all this for you, you have to install a 3rd party thing to manage it. If we allow your example, then caddy wins hands down because it also makes me rich because it fronts the websites that make me money. But that would be ridiculous thing to claim Caddy does, because it doesn't do that itself.
- P5fRxh5kUvp2th 4y agoWhile I understand your point, installing certbot isn't onerous at all and this is a strange thing to be arguing about.
- shepherdjerred 4y agoSetting up TLS and reverse proxy to several upstreams. This isn't an uncommon use case. nginx: https://github.com/shepherdjerred/servers/tree/8688ba2086d87ae6a40e04d4bdc3004c64926a94/zeus/config/nginx https://github.com/shepherdjerred/servers/tree/8688ba2086d87... caddy: https://github.com/shepherdjerred/servers/tree/main/zeus/config/caddy https://github.com/shepherdjerred/servers/tree/main/zeus/con... I have a feeling you're think we're attacking nginx. I can't speak for the other poster, but I have huge respect for nginx. It's a great piece of software and it's what I'd reach for in production. I'm not sure that Caddy is a good choice for production, but for my hobby work it is just so much easier to use.
- mholt 4y agoNeat comparison! (And Caddy is an excellent choice for production. Or so says the many companies now powering half a million sites with it!)