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 😄

  • dleewee@beehaw.org
    link
    fedilink
    arrow-up
    4
    ·
    2 years ago

    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@beehaw.orgOP
      link
      fedilink
      arrow-up
      2
      ·
      2 years ago

      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
        link
        fedilink
        arrow-up
        1
        arrow-down
        1
        ·
        edit-2
        2 years 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.