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?

  • N0x0n
    link
    fedilink
    English
    arrow-up
    9
    ·
    edit-2
    5 months ago

    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.

    • Crogdor@lemmy.world
      link
      fedilink
      English
      arrow-up
      3
      ·
      5 months ago

      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.

    • witten@lemmy.world
      link
      fedilink
      English
      arrow-up
      3
      ·
      5 months ago

      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!