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?

    • Silver Golden@lemmy.brendan.ie
      link
      fedilink
      English
      arrow-up
      3
      ·
      4 months ago

      This is it for me. I used to use caddy a few years ago because writing config files was a breeze. Now I “use” nginx because I can define everything in a few lines of nix and it’s configured automagically for me.

      • jimmy90@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        4 months ago

        Yeah I love that about nix and I can imagine a clever package writer can make a pingora binary to mimic that configurabllity

    • PortugalSpaceMoon
      link
      fedilink
      English
      arrow-up
      2
      ·
      4 months ago

      IIUC pingora is not standalone, but a set of rust crates? Should be already supported by nixpkgs through rust builders.

      • jimmy90@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        4 months ago

        Yep it would need to be compiled from the configuration given. I’m vaguely interested in trying. I will look up the rust builders. Thank you

      • jimmy90@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        4 months ago

        Would that lack the performance benefits that pingora provides by being compiled without configuration file?