How do I add multiple proxy_pass

Francis Daly francis at daoine.org
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 www.example.com and location / is set it as 
> location / {
>         proxy_pass https://www.example.com:8084;
> 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 https://www.example.com:88

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{}
block.

	f
-- 
Francis Daly        francis at daoine.org


More information about the nginx mailing list