Hi everybody.

How should I setup reverse proxy for my services? I’ve got things like jellyfin, immich a bitwarden running on my Debian server in docker. So should i install something like nginx for each of these also in docker? Or should I install it from repository and make configs for each of these docker services?

Btw I have no idea how to use something like nginx or caddy but i would still like to learn.

Also can you use nginx for multiple services on the same port like(443)?

    • HelloRoot@lemy.lol
      link
      fedilink
      English
      arrow-up
      8
      ·
      edit-2
      8 days ago
      1. you rent a domain

      2. in the config (provided by the service where you rented the domain) you set it to point to the IP of the device where you run caddy

      3. the service tells the relevant global DNS servers your setting

      4. your DNS does a DNS lookup and a DNS server returns the IP you configured it to point to


      Depending on the DNS you use, you can manually add entries to do 1-3 differently, but that will only work for devices that use your DNS and is hard.

      • beeng@discuss.tchncs.de
        link
        fedilink
        English
        arrow-up
        2
        ·
        8 days ago

        Is this a local address or a public IP address?

        I just want the resolving internal to my network but I never got it working right.

        • themadcodger@kbin.earth
          link
          fedilink
          arrow-up
          3
          ·
          8 days ago

          I’ve got the external IP addresses down pat. I’m with you in that I’ve never quite figured out how to do the same with local IP addresses.

        • PlexSheep@infosec.pub
          link
          fedilink
          English
          arrow-up
          1
          ·
          8 days ago

          If you want DNS only in your LAN, you need to self host a DNS server and register this domain locally (by putting it in some config file of yours)

    • WhyJiffie@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      2
      ·
      7 days ago

      if you don’t want to rent a domain, but you run a local DNS server (pihole, technitium) for filtering or other reasons, you can register your own domain names in there, for free. but don’t use common TLDs to avoid conflicts, and leave “.local” alone too because that’s used by mdns/avahi. You may use .home, .lan, or a few others I don’t know without looking them up