On 25 Jul 2020, at 00:14 , Robin Schneider <ypid(a)riseup.net>
wrote:
Nginx is heavily integrated in DebOps, because so many solutions have a web
interface and Nginx is used for common things like HTTPS, logging,
authentication, client certificates and so on. Also, some roles have complex
location configurations.
Yes, configurations that is also doable in Caddy, and you don’t need an extra CertBot for
it’s certificates.
Just as PostgreSQL 12 and other that’s not in Debian, it’s a matter of adding a source
repository
Can you confirm that everything Nginx is currently used for can be
done by
Caddy as well? Do you really think it is worth the effort for DebOps? And last
question, would you be willing to do the major work of this?
Caddy is another tool. A tool in my opinion that is solving more problems in the
current httpS only world, and where just about every web interface is a socket away and
packaged by
a server like haproxy/lighttpd/apache2/nginx/caddy to be put behind a HTTPS SNI+path.
I’m not saying thrown out nginx, but I’ll be moving (especially my Mendix deploys) and
other front ends to caddy, at which point I’ll
give back my changes/amendments.
Do notice that I mentioned initially the WAF features of Nginx, as that is a reason not to
use Caddy.
haproxy has other HA features that Caddy also doesn’t have.
But for the most cases, you might just find Caddy simpler than Nginx, especially when you
don’t have to do CertBots.