summaryrefslogtreecommitdiffhomepage
path: root/auto/modules
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@nginx.com>2015-04-14 19:01:25 +0300
committerRuslan Ermilov <ru@nginx.com>2015-04-14 19:01:25 +0300
commitcf31347ee84fdaa02f768e641d1a2f1352b6a56a (patch)
tree95fa2e6267ffddd5d3ace7bf8108964e7c68fed8 /auto/modules
parentb0b7b5a356c7dedf4a1867e94d8a36cbb6dc3da1 (diff)
downloadnginx-cf31347ee84fdaa02f768e641d1a2f1352b6a56a.tar.gz
nginx-cf31347ee84fdaa02f768e641d1a2f1352b6a56a.tar.bz2
Upstream: the "zone" directive.
Upstreams with the "zone" directive are kept in shared memory, with a consistent view of all worker processes.
Diffstat (limited to 'auto/modules')
-rw-r--r--auto/modules6
1 files changed, 6 insertions, 0 deletions
diff --git a/auto/modules b/auto/modules
index 5a56957b8..a029cdd5f 100644
--- a/auto/modules
+++ b/auto/modules
@@ -391,6 +391,12 @@ if [ $HTTP_UPSTREAM_KEEPALIVE = YES ]; then
HTTP_SRCS="$HTTP_SRCS $HTTP_UPSTREAM_KEEPALIVE_SRCS"
fi
+if [ $HTTP_UPSTREAM_ZONE = YES ]; then
+ have=NGX_HTTP_UPSTREAM_ZONE . auto/have
+ HTTP_MODULES="$HTTP_MODULES $HTTP_UPSTREAM_ZONE_MODULE"
+ HTTP_SRCS="$HTTP_SRCS $HTTP_UPSTREAM_ZONE_SRCS"
+fi
+
if [ $HTTP_STUB_STATUS = YES ]; then
have=NGX_STAT_STUB . auto/have
HTTP_MODULES="$HTTP_MODULES ngx_http_stub_status_module"