NGINX - How to work Load Balance

Started by jorgevisentini, December 20, 2023, 04:05:09 PM

Previous topic - Next topic
I'm trying to configure a load balance of the upstream servers, but apparently it's not working...

In Edit Upstream in Upstream:

  • Description: upstream_test_44310
  • Server Entries: Upstream_Server_01,Upstream_Server_02
  • Load Balancing Algorithm: Weighted Round Robin

In Edit Location in Location:

  • Description: location_upstream_test_44310
  • Upstream Servers: upstream_test_44310

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?

any clue in logs?
Quotethe connections are only going to Upstream_Server_01
how you tested it?

No error messages in the logs...

Testing using 2 Apache web servers...

I'll keep investigating...

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