Search code examples
urlportportal

Is it possible to have a URL only be accessible through a portal?


I've got a website that requires a login, this website shows a "portal" which makes it possible to go to deluge/plex/sonarr (webapps). these apps are connected to ports. so example.com:83031 = plex and example.com:83032 is sonarr (as an example).

Now if I go to example.com it prompts me a login and I if I then click on "plex", the portal goes to example.com:83031. this is correct. however, is there a way to disable a direct link to example.com:83031 (so is there a way to ONLY make it able to enter that site through portal?)

Long story short: I want example.com:83031 to ONLY be available through the portal, not if you enter it directly into the browser. is this possible?

[Editted the domains, got the point!]


Solution

  • Using reverse-proxy on Apache has fixed this issue.

    Picture describing the outcome