least_conn not working for me

Kenneth Brooks kenneth.s.brooks at gmail.com
Wed Dec 23 15:27:44 UTC 2020

I have a fully working config doing loadbalancing over 2 upstream servers.
I want to use "least_conn"

When I put least_conn in, it still is doing round robin.
I can confirm that other configs like "weight' and "ip_hash" are working as

Is there some other configuration/setting that also affects whether
least_conn is honored?

Currently using nginx 1.16.1 (trying to get 1.18.0 in house to see if that
What other info should I provide to help troubleshoot?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20201223/07393528/attachment.htm>

More information about the nginx mailing list