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 thread.
View all comments
6 points

Because pingora doesn’t have a Nixos package yet

permalink
report
reply
3 points

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.

permalink
report
parent
reply
1 point

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

permalink
report
parent
reply
2 points

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

permalink
report
parent
reply
1 point

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

permalink
report
parent
reply

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

permalink
report
parent
reply
1 point

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

permalink
report
parent
reply
1 point

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

permalink
report
parent
reply

Selfhosted

!selfhosted@lemmy.world

Create post

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!

Community stats

  • 4.8K

    Monthly active users

  • 1.8K

    Posts

  • 19K

    Comments