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)?
monogram@feddit.nl 2 weeks ago
Caddy
It’s three lines of configuration
Automatic https with let’sencrypt, simplicity of a single binary, downgrade is as simple as replace binary & restart service.
MajesticElevator@lemmy.zip 2 weeks ago
Fucking hell why do I use Apache 😂
DontNoodles@discuss.tchncs.de 2 weeks ago
Because you love the pain that comes with pulling your own hair out, one fistful at a time.
beeng@discuss.tchncs.de 2 weeks ago
How does my DNS know where to look for this?
HelloRoot@lemy.lol 2 weeks ago
you rent a domain
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
the service tells the relevant global DNS servers your setting
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
WhyJiffie@sh.itjust.works 2 weeks 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
IndustryStandard@lemmy.world 2 weeks ago
Wow