this post was submitted on 16 Jun 2023
15 points (100.0% liked)
Programming
13376 readers
2 users here now
All things programming and coding related. Subcommunity of Technology.
This community's icon was made by Aaron Schneider, under the CC-BY-NC-SA 4.0 license.
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Why? What's wrong with nginx?
While I can't speak for others, I've found NGINX to have weird issues where sometimes it just dies. And I have to manually restart the systemd service.
The configuration files are verbose, and maybe caddy would have better performance? I hadn't investigated it much
EDIT:
Nginx lacks http3 support out of the box
I'm running a lot of services off my nginx reverse proxy. This is my general setup for each subdomain - each in its own config file. I wouldn't consider this verbose in any way - and it's never crashed on me
service.conf
The hidden configs are boilerplate which are easily imported for any applicable service. A set-once set of files isn't what I would count towards being verbose. 90% of my services use the exact same format.
If a certain service is complicated and needs more config in nginx, it's going to be the same for caddy.
I don't know, I prefer it to be easier to set up my proxy especially when it comes to configs, each to their own I guess.