I’ve got a mini pc which is running always and another one which consumes a lot more power for e.g. jellyfin.

Can I configure it such that the jellyfin server only boots if I connect to it? E.g. I try to connect to jellyfin.y.com and then the server boots because the mini pc tries to connect to it.

I already figured out how to let it sleep automatically as soon as nobody is watching.

Edit: can I add the magic package to the reverse proxy?

  • enemenemu@lemm.eeOP
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 day ago

    I’d be happy to switch if I had a good tutorial for caddy. Unfortunately I couldn’t find one.

      • enemenemu@lemm.eeOP
        link
        fedilink
        English
        arrow-up
        1
        ·
        22 hours ago

        It doesn’t work. I can’t manage to debug it.

        Fedora server. Podman. Selinux. Port 8443. Ipv4.

        • Xanza@lemm.ee
          link
          fedilink
          English
          arrow-up
          2
          arrow-down
          1
          ·
          15 hours ago

          it doesn’t work

          …what exactly doesn’t work. You’re not really giving me enough to help you with.

          • enemenemu@lemm.eeOP
            link
            fedilink
            English
            arrow-up
            2
            ·
            15 hours ago

            Thx for offering your help.

            If I would know, I could debug it, but I don’t know where the problem is. I assume the problem is somewhere with podman or selinux

            • Xanza@lemm.ee
              link
              fedilink
              English
              arrow-up
              1
              arrow-down
              1
              ·
              15 hours ago

              But you gotta understand, there’s no subject to your statement. You just said “it doesn’t work” and I have no idea what you’re doing. Are you installing podman? Are you installing caddy? Are you setting up caddy as a reverse proxy? Are you trying to bring your dog back from the dead? I have no frame of reference.

              • enemenemu@lemm.eeOP
                link
                fedilink
                English
                arrow-up
                2
                ·
                edit-2
                15 hours ago

                Sorry for not having expressed what I did. I wrote a podman compose file, pulled the caddy image, wrote a caddyfile, started it and tried to connect to a service via subdomain.domain.tld .

                The caddyfile contains my http and tls ports and the domain and ip for the reverse proxy routing according to the docs.

                The result is no log entry in caddy and no result in the browser or curl.

                • lucid@lemmy.dbzer0.com
                  link
                  fedilink
                  English
                  arrow-up
                  1
                  ·
                  13 hours ago

                  You’ll probably get better help if you post your config and any logs. Caddy may not log an entry to a file but you can watch the console logs to see everything (podman logs caddy or similar.)

                  • enemenemu@lemm.eeOP
                    link
                    fedilink
                    English
                    arrow-up
                    3
                    ·
                    13 hours ago

                    Thanks. For now, I spend too much time with it. I’ll try some other time again.

                  • enemenemu@lemm.eeOP
                    link
                    fedilink
                    English
                    arrow-up
                    1
                    ·
                    13 hours ago

                    Yes, it works with nginxproxymanager. There’s probably something going on with selinux - I may disable it the next time to test the assumption.