diff options
| author | Maxim Dounin <mdounin@mdounin.ru> | 2012-06-03 23:21:26 +0000 |
|---|---|---|
| committer | Maxim Dounin <mdounin@mdounin.ru> | 2012-06-03 23:21:26 +0000 |
| commit | 4cb4e8d17934cdc3718a02f5dcf56983a8cba304 (patch) | |
| tree | e94d27a0bf9a891756cb0d61c1f1fc3f730b722a /auto/modules | |
| parent | 01f1e4d1dc4c740587b4e9d9153c043715105b7a (diff) | |
| download | nginx-4cb4e8d17934cdc3718a02f5dcf56983a8cba304.tar.gz nginx-4cb4e8d17934cdc3718a02f5dcf56983a8cba304.tar.bz2 | |
Upstream: least_conn balancer module.
Diffstat (limited to 'auto/modules')
| -rw-r--r-- | auto/modules | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/auto/modules b/auto/modules index 7d3216b0f..ebea30232 100644 --- a/auto/modules +++ b/auto/modules @@ -345,6 +345,11 @@ if [ $HTTP_UPSTREAM_IP_HASH = YES ]; then HTTP_SRCS="$HTTP_SRCS $HTTP_UPSTREAM_IP_HASH_SRCS" fi +if [ $HTTP_UPSTREAM_LEAST_CONN = YES ]; then + HTTP_MODULES="$HTTP_MODULES $HTTP_UPSTREAM_LEAST_CONN_MODULE" + HTTP_SRCS="$HTTP_SRCS $HTTP_UPSTREAM_LEAST_CONN_SRCS" +fi + if [ $HTTP_UPSTREAM_KEEPALIVE = YES ]; then HTTP_MODULES="$HTTP_MODULES $HTTP_UPSTREAM_KEEPALIVE_MODULE" HTTP_SRCS="$HTTP_SRCS $HTTP_UPSTREAM_KEEPALIVE_SRCS" |
