Welcome! Log In Create A New Profile

Advanced

Re: Two internal ports on same host in Single Web App.

J.R.
January 27, 2020 08:02AM
> I have an application runs on port 8080.
> Ex: 192.168.1.10:8080/Index.html.
>
> This landing page has basic username and password authentication to access
> it. After login, it changes the port automatically to 8088.
> Ex: 192.168.1.10:8088/#/monitor.
>
> I need external users to access this application using only port 80 and
> Nginx to rewrite between both ports.
> Ex. app.domain.com
>
> How can I configure this. please advice.


As it looks like your example they are different directories, you just
set a different proxy for each location...

Just make sure you pay attention to the order of operations when
specifying locations.
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Two internal ports on same host in Single Web App.

janakackv January 27, 2020 06:51AM

Re: Two internal ports on same host in Single Web App.

J.R. January 27, 2020 08:02AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 187
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready