mirror of
https://github.com/nginx/nginx.git
synced 2026-08-27 04:07:18 +00:00
Upstream: the "zone" directive.
Upstreams with the "zone" directive are kept in shared memory, with a consistent view of all worker processes.
This commit is contained in:
parent
b0b7b5a356
commit
cf31347ee8
10 changed files with 407 additions and 7 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue