160

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?

you are viewing a single comment's thread
view the rest of the comments
[-] jimmy90@lemmy.world 6 points 3 months ago

Because pingora doesn't have a Nixos package yet

[-] silver@lemmy.brendan.ie 3 points 3 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 1 points 3 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@infosec.pub 2 points 3 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 1 points 3 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

[-] SexualPolytope@lemmy.sdf.org 1 points 3 months ago

Some people are also building a reverse proxy using pingora called river.

[-] jimmy90@lemmy.world 1 points 3 months ago

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

[-] jimmy90@lemmy.world 1 points 3 months ago

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

this post was submitted on 26 Jul 2024
160 points (94.0% liked)

Selfhosted

39677 readers
888 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS