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

Selfhosted

39435 readers
9 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
 

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
[–] [email protected] 6 points 3 months ago (3 children)

Because pingora doesn't have a Nixos package yet

[–] [email protected] 3 points 3 months 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.

[–] [email protected] 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

[–] [email protected] 2 points 3 months ago (1 children)

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

[–] [email protected] 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

[–] [email protected] 1 points 3 months ago (1 children)

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

[–] [email protected] 1 points 3 months ago (1 children)

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

[–] [email protected] 1 points 3 months ago

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