Jump to content

Domain point to interal IP if accessed from LAN


Recommended Posts

Posted

I'm not sure whether this is even possible, but here's my question.

Is there a way I can make the domain I use for my unRAID server, if accessed internally, to point to an IP:PORT instead? I'm using letsencrypt and nginx to achieve a reverse proxy, where sonarr.mydomain.com, for example, works. However, if accessing within my LAN, I want to be able to bypass authentication set-up by nginx, and go directly into sonarr. My idea was to somehow, if that URL is accessed from my LAN, then make it points to SONARR-IP:PORT directly.

I hope this makes sense.

Thanks

Posted
On 5/4/2020 at 11:55 AM, cinereus said:

Yes that should be possible with a reverse proxy.

Mind pointing my in the right direction? Not quite sure how the conf should look like. I've got everything up and running with linuxserver letsencrypt.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...