by xnaas · 6y ago · 0 comments
As for Caddy advantages, I think it's really just about having a super easy to manage JSON or Caddyfile. In migrating a few of my nginx configs to Caddyfile, I was able to reduce line counts from dozens to 2-3. That's pretty impressive, tbh.
If you've been using nginx forever and have no issues with it...I don't see any valid reasons to move to Caddy.
But it is something that nginx does have. That, and maybe some kind of "x-send-file" acelleration/support.
Ed: this is odd, I could've sworn it wasn't that long ago I looked for and even discussed try-files-first for v2 - but apparently it exists?
https://caddy.community/t/v2-try-file-server-first/6440/3
https://caddyserver.com/docs/caddyfile/directives/try_files#...
Ed2: I guess I was confusing it with x-send-file acelleration - which still appear to be a bit wip? :
https://caddy.community/t/caddy-2-x-sendfile-x-accel-support...
https://caddy.community/t/sendfile-x-accel-redirect-v1s-inte...