The official NGINX Open Source repository.
Go to file
Vladimir Homutov 0c4ccbea23 Upstream: ngx_http_upstream_random module.
The module implements random load-balancing algorithm with optional second
choice.  In the latter case, the best of two servers is chosen, accounting
number of connections and server weight.

Example:

upstream u {
    random [two [least_conn]];

    server 127.0.0.1:8080;
    server 127.0.0.1:8081;
    server 127.0.0.1:8082;
    server 127.0.0.1:8083;
}
2018-06-15 11:46:14 +03:00
auto Upstream: ngx_http_upstream_random module. 2018-06-15 11:46:14 +03:00
conf MIME: added most common OpenDocument types. 2017-10-02 19:07:01 +03:00
contrib Contrib: vim syntax, update core and 3rd party module directives. 2018-03-18 11:11:14 +02:00
docs nginx-1.15.0-RELEASE 2018-06-05 16:47:25 +03:00
misc Updated OpenSSL and PCRE used for win32 builds. 2018-04-03 03:54:09 +03:00
src Upstream: ngx_http_upstream_random module. 2018-06-15 11:46:14 +03:00
.hgtags release-1.15.0 tag 2018-06-05 16:47:25 +03:00