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?

  • @jimmy90
    link
    English
    65 months ago

    Because pingora doesn’t have a Nixos package yet

    • Silver Golden
      link
      fedilink
      English
      35 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
        link
        English
        15 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

    • @[email protected]
      link
      fedilink
      English
      25 months ago

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

      • @jimmy90
        link
        English
        15 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
        link
        English
        15 months ago

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

        • @jimmy90
          link
          English
          15 months ago

          I mean pingora out performs nginx which is why cloud flare made it, I believe