this post was submitted on 05 Jul 2023
9 points (76.5% liked)

Selfhosted

39251 readers
283 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
 

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?

you are viewing a single comment's thread
view the rest of the comments
[–] chiisana@lemmy.chiisana.net 2 points 1 year ago (1 children)

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 1 points 1 year ago (1 children)

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

[–] ironhydroxide@partizle.com 1 points 1 year ago* (last edited 1 year ago) (1 children)

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 3 points 1 year ago (1 children)

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@lemmy.chiisana.net 2 points 1 year ago (1 children)

🎉

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

[–] dustojnikhummer@lemmy.world 1 points 1 year ago

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