Why do so many people use NGINX?

Findmysec@infosec.pub to Selfhosted@lemmy.world – 160 points –

I see so many posts and people who run NGINX as their reverse proxy. Why though? There's HAProxy and Apache, with Caddy being a simpler option.

If you're starting from scratch, why did you pick/are you picking NGINX over the others?

102

You are viewing a single comment

Traefik + CrowdSec + Authelia ftw

Traefik gang here đź‘Š !

But only because it works so easily with docker !! I remember a time where I though that you need a diploma and read/learn/understand a 10000 page dictionary to make nginx work properly.

Also hated the syntax of nginx... It can look so ugly and gibberish :/.

But I do believe Nginx is superior and more mature in many more aspects than Treafik. Still, Traefik is a breeze and is in IMO way easier to configure with docker than Nginx.

Yeah it's Traefik for me as well! Heavy docker user, of course - it's nice just tossing some labels into my Portainer stacks and letting Traefik figure it out. If I wasn't so invested with containers I'd be using nginx.

I use Traefik as my main reverse proxy as well for the same reason—container niceties. But then I actually also use nginx.. inside container images, like for containers that just serve static files for example.

Use the right tool for the job!

I used to use traefik back when it was new and less complex and the 2.0 complexity forced my hand to drop it for my homelab.