nginx/auto
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
..
cc Configure: fixed clang version detection (closes #1539). 2018-04-24 14:04:59 +03:00
lib Configure: restored "no-threads" in OpenSSL builds. 2018-03-22 15:56:07 +03:00
os Fixed capabilities version. 2017-12-19 19:00:27 +03:00
types Configure: stop polluting NGX_ namespace. 2016-06-27 15:00:06 -07:00
configure Configure: fix compilation on MSYS2 / MinGW64. 2017-06-06 18:13:39 +03:00
define Copyright updated. 2012-01-18 15:07:43 +00:00
endianness Configure: fix build with -Werror=old-style-definition. 2016-06-27 15:00:05 -07:00
feature Configure: fix build with -Werror=old-style-definition. 2016-06-27 15:00:05 -07:00
have Copyright updated. 2012-01-18 15:07:43 +00:00
have_headers Copyright updated. 2012-01-18 15:07:43 +00:00
headers Copyright updated. 2012-01-18 15:07:43 +00:00
include Configure: stop polluting NGX_ namespace. 2016-06-27 15:00:06 -07:00
init Dynamic modules: do not overwrite old modules on install. 2016-03-10 16:50:13 +03:00
install Configure: style. 2016-03-10 18:31:05 +03:00
make Configure: honor dependencies of dynamic modules. 2016-11-21 16:49:19 +03:00
module Configure: honor dependencies of dynamic modules. 2016-11-21 16:49:19 +03:00
modules Upstream: ngx_http_upstream_random module. 2018-06-15 11:46:14 +03:00
nohave Copyright updated. 2012-01-18 15:07:43 +00:00
options Upstream: ngx_http_upstream_random module. 2018-06-15 11:46:14 +03:00
sources Events: moved ngx_recvmsg() to new file src/event/ngx_event_udp.c. 2018-06-01 16:55:49 +03:00
stubs Copyright updated. 2012-01-18 15:07:43 +00:00
summary Internal md5 and sha1 implementations are now always used. 2016-06-30 18:57:39 +03:00
threads Configure: fixed static compilation with OpenSSL 1.1.1. 2018-03-22 15:55:57 +03:00
unix Configure: fixed static compilation with OpenSSL 1.1.1. 2018-03-22 15:55:57 +03:00