From cf31347ee84fdaa02f768e641d1a2f1352b6a56a Mon Sep 17 00:00:00 2001 From: Ruslan Ermilov Date: Tue, 14 Apr 2015 19:01:25 +0300 Subject: Upstream: the "zone" directive. Upstreams with the "zone" directive are kept in shared memory, with a consistent view of all worker processes. --- auto/modules | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'auto/modules') 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" -- cgit