Mercurial > hg > nginx-site
diff xml/en/docs/http/ngx_http_upstream_module.xml @ 1495:8d134b482cc3
Documented zone usage with many upstreams.
author | Yaroslav Zhuravlev <yar@nginx.com> |
---|---|
date | Wed, 27 May 2015 18:06:02 +0300 |
parents | f29398a167d0 |
children | 0b89d1e54e8f |
line wrap: on
line diff
--- a/xml/en/docs/http/ngx_http_upstream_module.xml Wed May 27 08:10:09 2015 +0000 +++ b/xml/en/docs/http/ngx_http_upstream_module.xml Wed May 27 18:06:02 2015 +0300 @@ -10,7 +10,7 @@ <module name="Module ngx_http_upstream_module" link="/en/docs/http/ngx_http_upstream_module.html" lang="en" - rev="38"> + rev="39"> <section id="summary"> @@ -283,7 +283,7 @@ <directive name="zone"> -<syntax><value>name</value> <value>size</value></syntax> +<syntax><value>name</value> [<value>size</value>]</syntax> <default/> <context>upstream</context> <appeared-in>1.9.0</appeared-in> @@ -292,6 +292,8 @@ Defines the <value>name</value> and <value>size</value> of the shared memory zone that keeps the group’s configuration and run-time state that are shared between worker processes. +Several groups may share the same zone. +In this case, it is enough to specify the <value>size</value> only once. </para> <para>