May 9, 20188 yr For those using a reverse proxy (in my case Letsencrypt + nginx), how do you guys handle local DNS redirection to your dockers? I use a few subdomains to access specific containers externally such as : music.mydomain.com (Airsonic) emby.mydomain.com (Emby) requests.mydomain.com (OMBI) But I'm looking for a way to redirect requests to those subdomains from local IPs to the correct container as well. I'm not aware of anyway to create a DNS record with a port number so I'm wondering how others (if any) are handling such situations? As it stands, simply creating a DNS record to the unRAID IP obviously doesn't work because that just redirects to the unRAID login page. EDIT 1: Would my best bet be to change the HTTPS port of unRAID to something other than 443 so that 443 requests go to my letsencrypt container (once I change the container's host port back to 443)? EDIT 2: It appears my suggestion above works. You can consider this matter closed. Edited May 9, 20188 yr by IamSpartacus
May 20, 20188 yr Since you got this working, can you explain the setup in detail for one of the dockers as I am going to begin to move from my.domain.ext/docker to docker.domain.ext soon and this was one of my pre-planning concerns.
May 20, 20188 yr Author 2 hours ago, fmp4m said: Since you got this working, can you explain the setup in detail for one of the dockers as I am going to begin to move from my.domain.ext/docker to docker.domain.ext soon and this was one of my pre-planning concerns. The first thing you need to setup is the Letsencrypt container to redirect requests to your different subdomains to specific ports that you specified for your containers. I'd suggest looking at the Linuxserver.io support page for the LE container for more on that. Next, for internal redirects that's where my edit in my OP comes in. But you'll need some type of internal DNS server that allows for static DNS entries. I have a Windows domain at home so I use my AD servers for DNS.
July 13, 20205 yr How do I make that change? I'm in the container's subdomain conf within Letsencrypt. What line?
Archived
This topic is now archived and is closed to further replies.