There have been a few Reddit, Lemmy and Youtube posts over the past week or so about Nginx Proxy Manager and their shortfalls, mostly towards CVEs and other security issues.

The problem is that unlike Traefik, NGINX Proxy Manager is actually easy to use. And before you recommend Caddy, that also has no GUI.

What do you use, if you have stuff exposed to the outside?

chiisana
link
fedilink
English
21Y

Traefik just need container labels. Most of the time it’s only 4 labels for the container you want to expose. Copy to a self hosted wiki and you’re good to go.

@dustojnikhummer@lemmy.world
creator
link
fedilink
English
11Y

That is the easy part. What I haven’t been able to get working is services outside of docker, ie on other servers

chiisana
link
fedilink
English
11Y

I did that on Traefik 1 on an older stack, but since moving to Traefik 2, I’m all containers, so I haven’t done it on Traefik 2 yet. However, I’d imagine maybe you can use the load balancer example with just 1 private-ip server behind it? https://doc.traefik.io/traefik/routing/services/

@ironhydroxide@partizle.com
link
fedilink
English
2
edit-2
1Y

Setup rules that forward to an IP:port I used a guide on smarthomebeginner initially. I’ll try and find it found it.

Go here https://www.smarthomebeginner.com/traefik-docker-compose-guide-2022/

And scroll till the section. “Adding non-docker or external apps behind Traefik”

@dustojnikhummer@lemmy.world
creator
link
fedilink
English
31Y

That seems to have done it!

http:
  routers:
    jellyfin-rtr:
      rule: "Host(`[redacted].com`)"
      entryPoints:
        - websecure
      service: jellyfin-svc
      tls:
        certResolver: letsencrypt
  services:
    jellyfin-svc:
      loadBalancer:
        servers:
          - url: "http://[]redacted]:8096" 
chiisana
link
fedilink
English
21Y

🎉

Glad you’re able to get this working and welcome to Traefik !

@dustojnikhummer@lemmy.world
creator
link
fedilink
English
11Y

Glad to be here. I have been using Traefik for well over a year, but through TrueCharts, glad to have done this on my own

Create a 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!

  • 1 user online
  • 279 users / day
  • 589 users / week
  • 1.34K users / month
  • 4.55K users / 6 months
  • 1 subscriber
  • 3.5K Posts
  • 70K Comments
  • Modlog