this post was submitted on 09 Jun 2023
11 points (100.0% liked)

Self Hosted - Self-hosting your services.

506 readers
2 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
 

Hello, first post here since leaving Reddit (yay)

Has anyone successfully setup an Lemmy instance with traefik? I was thinking about selfhost a private instance but saw that Lemmy didnt support traefik.

Im thankful for any help πŸ˜„

you are viewing a single comment's thread
view the rest of the comments
[–] dleewee 5 points 1 year ago (1 children)

I see no reason you couldn't. Just change the listen port on the nginx config to something other than 80 (so it doesn't conflict), then tell treafik to send traffic to that port. Disclaimer, I'm not well versed with treafik, but have worked with several other reverse proxies to know the general idea.

[–] ZebraGoose 3 points 1 year ago (1 children)

OK, i think i understand gonna try this later. I have some services behind traefik but most of them i have followed very detailed guides πŸ˜„

[–] casey@lemmy.wiuf.net 3 points 1 year ago* (last edited 1 year ago)

I’m going to be honest and say it’s probably a challenge, but with the combination of ChatGPT4, I bet you be just as successful as I was! I was able to get my instance to run behind Nginx Proxy Manager. It took several changes but is functional now.