Problem scenario
You have configured Nginx to be an HTTP load balancer (a web server configured to behave as a landing portal that enables traffic to pass through). As a reverse proxy with built-in keywords you have use the “least_conn” directive, but it does not seem to be working. You want inbound network connection requests from your users via web browsers to be relayed to the web servers with the fewest (or least) amount of active connections.
…
Continue reading “How Do You Use the least_conn Directive in an Nginx Configuration File?”