Welcome! Log In Create A New Profile

Advanced

Re: How do I add multiple proxy_pass

Francis Daly
August 01, 2019 01:32PM
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@daoine.org
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

How do I add multiple proxy_pass

blason July 25, 2019 04:07AM

Re: How do I add multiple proxy_pass

Francis Daly August 01, 2019 01:32PM

Re: How do I add multiple proxy_pass

blason August 01, 2019 11:22PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 313
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