proxy http requests to different port numbers?

lvic4594 nginx-forum at forum.nginx.org
Thu Sep 26 18:40:55 UTC 2019


Hello,
I have several http services in the host using different port numbers, for
example one REST service listening on 8080, another on 8086. Presently VPN
is filtering out all those requests, the only port number allowed for HTTP
is 80. Looking for workaround: are there any available proxy modules (
specifically interested in ngnx) that would allow to map request urls to
different port numbers? So that, for example: request for
"http://myserver.com/rest1/api/index.html" would be forwarded to
"http://myserver.com:8080/api/index.html"...
Thank you

Posted at Nginx Forum: https://forum.nginx.org/read.php?2,285723,285723#msg-285723



More information about the nginx mailing list