I just recently started playing around with an old pc as my homeserver and am curious of any recommendations for lesser known self hostable foss software that you would recommend

  • DengueDucky@lemmy.ml
    link
    fedilink
    arrow-up
    5
    ·
    2 years ago

    Caddy is simpler for the reverse proxy. Just sharing for people that get scared when they try to set up Traefik.

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

      Ngnix-proxy-manager is even simpler :) But along with the automatic router creation using labels, I’ve found traefik to be the most robust of all three.

      The traefik syntax and configuration using yaml is really initutive. I can link a good guide here if someone wants it. The official documentation isn’t that good.

      One of my favourite guides explaining the configuration files for traefik.

      • constantokra@lemmy.one
        link
        fedilink
        arrow-up
        3
        ·
        2 years ago

        Nginx proxy manager is simple, but I can’t manage to make it work with https on porkbun. Nginx-proxy works just fine and it’s probably the simplest i’ve seen.

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

          That is pretty cool :) I have a domain on porbunk too but even up putting DNS on cloudflare because porkbum uses cloudflare anyway but doesn’t expose most of the features. Kind of a loss loss. Cloudflare works with pretty much everything.

          I’ll check out nginx-proxy. Have heard good things about swag too. How is the setup on nginx-proxy compared to other options?

          • constantokra@lemmy.one
            link
            fedilink
            arrow-up
            3
            ·
            2 years ago

            I didn’t know that about porkbun.

            Basically you run the container and then put a couple environment variables in the containers you want to proxy and it handles all of it for you, including certs. Just works.

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

              Thanks. Seems pretty much identical to traefik which makes sense because I think most of reverse proxies just use LetsEncrypt underneath.

      • DidacticDumbass@lemmy.one
        link
        fedilink
        arrow-up
        2
        ·
        2 years ago

        Please do! I have been trying to set up remote access to a server I have, and there seems to be so many solutions and all seem very complex.

        • Parsnip8904@beehaw.org
          link
          fedilink
          arrow-up
          2
          ·
          edit-2
          2 years ago

          Have linked one :) For remote access, I wouldn’t necessarily use traefik at the edge. The safest solution would probably installing zerotier/tailscale on the remote server and accessing traefik through that. That way you don’t have to expose unnecessary parts or worry about robustness of authentication etc.

          If it is a single computer you can easily make a two computer network using the instructions from wireguard archwiki page and you’re all set :)

          • DidacticDumbass@lemmy.one
            link
            fedilink
            arrow-up
            3
            ·
            2 years ago

            Ooh. I signed up for tailscale, but havent gotten the configuration right I think. Also signed up for NextDNS. Got some work to do but no longer have the time.

            What I actually want to do is make it so I can give out accounts to services to my family and girlfriend so they can watch movies and whatever.

            Tailscale is one step to many. I think I will need to purchase a domain name or set up a VPN, which seems a little scary to me.

            • Parsnip8904@beehaw.org
              link
              fedilink
              arrow-up
              1
              ·
              2 years ago

              I think you might have confused it with something else. I will explain how to what you want :)

              1. Make an account with tailscale. You can login with your Google account.
              2. Install tailscale on the computer that has plex.
              3. Go to the terminal and run sudo tailscaled up or just run the tailscale executable in windows/mac.
              4. It will ask you to go to a url and Authorize it, login here with your tailscale account.
              5. Install tailscale in your gf’s computer.
              6. Ask her to send you the url, login and Authorize that.
              7. Now if you go to tailscale website you should be able to see both computers. Look up the IP of the Plex comuter.
              8. http://plexip:32400/web from your gf’s computer will let her access Plex.

              That’s it :)

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

      Honestly I started using traefik first and I agree, the learning curve is steep. I’m only just now starting to understand what my labels are doing. But now, I’ve tried caddy and literally cannot get it to work, or find how to port what I have on traefik over to caddy lol.

      • DengueDucky@lemmy.ml
        link
        fedilink
        arrow-up
        2
        ·
        2 years ago

        Here are all the steps after installing Caddy to create a reverse proxy with SSL:

        1. Open the /etc/caddy/Caddyfile file
        2. Add the following, replacing the domain and port with those that you want to use.

        subdomain.example.com {

          reverse_proxy localhost:8080
        

        }

        1. Restart Caddy with systemctl restart caddy
        • pattern@beehaw.org
          link
          fedilink
          arrow-up
          2
          ·
          2 years ago

          Super interesting. I’ll have to experiment with this, the guides I found were not this straight forward. Thanks!