this post was submitted on 26 Jul 2024
163 points (94.1% liked)

Selfhosted

60074 readers
635 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.

  3. Posts here are to be centered around self-hosting. Please ensure it is clear in your post how it relates to self-hosting.

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

  5. Submission headline should match the article title.

  6. No trolling.

Resources:

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

Questions? DM the mods!

founded 3 years ago
MODERATORS
 

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 2 years ago (3 children)

Because pingora doesn't have a Nixos package yet

[–] silver@lemmy.brendan.ie 3 points 2 years ago (1 children)

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 2 years 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 2 years ago (1 children)

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 2 years 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 2 years ago (1 children)

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

[–] jimmy90@lemmy.world 1 points 2 years ago (1 children)

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

[–] jimmy90@lemmy.world 1 points 2 years ago

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