mirror of
https://github.com/nginx/nginx.git
synced 2026-07-29 15:54:27 -05:00
0c4ccbea23813a50132df511d4445bc1686dbc2f
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;
}
Description
An official read-only mirror of http://hg.nginx.org/nginx/ which is updated hourly. Pull requests on GitHub cannot be accepted and will be automatically closed. The proper way to submit changes to nginx is via the nginx development mailing list, see http://nginx.org/en/docs/contributing_changes.html
87 MiB
Languages
C
97.7%
Vim Script
1.7%
XS
0.4%
Perl
0.1%