OPNsense Forum

Archive => 23.7 Legacy Series => Topic started by: jorgevisentini on December 20, 2023, 04:05:09 PM

Title: NGINX - How to work Load Balance
Post by: jorgevisentini on December 20, 2023, 04:05:09 PM
I'm trying to configure a load balance of the upstream servers, but apparently it's not working...

In Edit Upstream in Upstream:

In Edit Location in Location:

The issue is that the load balance is not working, the connections are only going to Upstream_Server_01.
I already changed the Server Priority priority in Upstream Server, but it didn't work.


Any tips?
Title: Re: NGINX - How to work Load Balance
Post by: Fright on December 21, 2023, 08:02:14 PM
any clue in logs?
Quotethe connections are only going to Upstream_Server_01
how you tested it?
Title: Re: NGINX - How to work Load Balance
Post by: jorgevisentini on December 21, 2023, 08:55:25 PM
No error messages in the logs...

Testing using 2 Apache web servers...

I'll keep investigating...
Title: Re: NGINX - How to work Load Balance
Post by: doktornotor on December 22, 2023, 10:06:38 AM
Quote from: jorgevisentini on December 21, 2023, 08:55:25 PM
Testing using 2 Apache web servers...

That was not the point of the question I'd say...  ;D