How to create same location to point different proxy server

Sergey A. Osokin osa at freebsd.org.ru
Tue May 23 14:28:01 UTC 2023


Hi Abdul,

On Tue, May 23, 2023 at 12:34:31PM +0530, abdul kadhar wrote:
> Hi,

At first, please do not do crossposting to several mailing list, it's a
bit far from the good practices.  Also, please use nginx-devel list for
development purposes only.

Thank you.

> I need to know how to configure nginx for below scenario.
> 
> I have configured the Load Balancer(Nginx) for ignition. I have created two
> upstream(ignapp & ignProdapp) server. For ignapp upstream it is working
> fine. I need to configure the below code for upstream server(ignProdapp) in
> the same configuration file how to do this. Below is the sample
> configuration for the server ignapp. Can you please help me how to
> configure the below settings for another upstream server. Below is the
> config setting for ignapp same way I need to do it for creating location ~
> /data/, location ~ /system/ , location ~ /res/ , location ~ /idp/, location
> ~ /.well-known/ for ignappPro Upstream server .

It's not so clear to me what's the goal of this configuration.  Usually,
the load balancer case means to balance load between more than one application
server behind a load balancer.

[...]

-- 
Sergey A. Osokin


More information about the nginx mailing list