proxy http requests to different port numbers?

Francis Daly francis at
Sun Sep 29 08:24:35 UTC 2019

On Thu, Sep 26, 2019 at 02:40:55PM -0400, lvic4594 wrote:

Hi there,

> 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
> "" would be forwarded to
> ""...

That sounds like what nginx's proxy_pass is for, no?

  location /rest1/ {

plus whatever extra configuration your service needs.

(It does assume that the API is happy to be reverse-proxied.)

Francis Daly        francis at

More information about the nginx mailing list