this post was submitted on 10 Jun 2023
24 points (100.0% liked)

Self Hosted - Self-hosting your services.

11398 readers
1 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

Important

Beginning of January 1st 2024 this rule WILL be enforced. Posts that are not tagged will be warned and if not fixed within 24h then removed!

Cross-posting

If you see a rule-breaker please DM the mods!

founded 3 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 8 points 1 year ago* (last edited 1 year ago) (5 children)

For me it's https://nginxproxymanager.com/ it's just so easy to setup and use. One docker command and you're up and running with a nice webinterface to manage access to your docker instances with ssl. I heard good things about Traefik too but I have no personal experience with that one. NPM does everything I need and if it ain't broken... :)

Edit: because people love screenshots https://nginxproxymanager.com/screenshots/

[–] [email protected] 2 points 1 year ago

I second that. Amazing easy to use, configure, supports (LetsEncrypt) certificates via DNS-01 challenge and integrates with ease with most DNS providers.

Paired with authentication providers (keycloak, authelia, authentik), the "advanced" textbox lets you do forward proxying really easy, or customize your "basic proxy".

I'm not sure how many of these features are present in Traefik, it would be really nice if any of you know if any of these are easily supported in it:

  • Forward proxying
  • Custom rewrites (nginx internal; rewrites)
  • Unattended DNS-01 support with ACME (LetsEncrypt)
[–] [email protected] 0 points 1 year ago

I used NPM for a very long time, but after I switched to podman, DNS name resolution for containers stopped working in NPM, they work fine in every other container. Switched to caddy and it's okay, it only supports HTTP transports so I can't use it as a gateway for my DoH/DoT server, but that's not a huge deal. Once NPM works properly on podman I may switch back

[–] [email protected] 0 points 1 year ago (1 children)

I second NPM. As you mentioned it’s been very easy to use, but I also haven’t been trying to do anything complicated.

I’ve never used load balancing so perhaps Caddy or Traefik is easier to use than NPM in that regard, but I wouldn’t know.

[–] [email protected] 1 points 1 year ago

Yes NPM is for basic reverse proxying, so one URL to one server. If you wanted to scale and load balance across multiple servers you'd need regular nginx with a text config file since you literally can't configure a second or third server.

And I'd still find that easier than Traefik, but maybe that's just because I've been using Apache2 and nginx for like a decade at this point so it's what I know.

[–] [email protected] 0 points 1 year ago (1 children)

I used Traefik on my Docker stack and it's pretty neat, though it took some time for me to get my head around how to configure it correctly.

[–] [email protected] 1 points 1 year ago

Yeah seems like I was lucky to find what I needed on the first try. A colleague of mine was using Traefik but switched to NPM because it's so easy to use.

[–] [email protected] 0 points 1 year ago (1 children)

I've been using NPM for years.. but since 2.10.3 broke SSL certificates and there's been literally no interest from JC21 to fix the problem (there's a PR ready to go) i've been forced to look elsewhere and have settled on caddy for now..

[–] [email protected] 0 points 1 year ago (1 children)

To be fair, the pull request was last week. It's inconvenient but life/work balance.

[–] [email protected] 1 points 1 year ago* (last edited 1 year ago) (1 children)

Agreed but it's more the worry that it's been broken for over 3 weeks and the dev(s) seems to have no interest in resolving it... to me that is a bad sign of things to come and projects being abandoned.

If i'm incorrect and the devs have been vocal about the issue then please correct me and point me to where i should be looking.

[–] [email protected] 1 points 1 year ago* (last edited 1 year ago)

I not challenging you, so please don't take of fence here but is the issue sincerely a 'lack of interest' or is it just that NPM is FOSS and the maintainer is bogged down with life? You could fork it and fix it.