How do I add multiple proxy_pass

Francis Daly francis at
Thu Aug 1 17:31:24 UTC 2019

On Thu, Jul 25, 2019 at 04:07:57AM -0400, blason wrote:

Hi there,

> My reverse proxy set it up as and location / is set it as 
> location / {
>         proxy_pass;
> Now URL is getting opened properly when I login it again diverts to port 88
> on the same server so my query is how do I add multiple proxy pass for same
> server
> like proxy_pass

How would *you* know that the first request should be proxy_pass'ed to
port 8084, and the second to port 88?

Tell nginx the same thing.

Probably using either a different server{} block or a different location{}

Francis Daly        francis at

More information about the nginx mailing list