Mercurial > hg > nginx-site
diff xml/en/docs/stream/ngx_stream_upstream_module.xml @ 2470:504536999408
Added upstream resolver info to upstream server resolve parameter.
author | Yaroslav Zhuravlev <yar@nginx.com> |
---|---|
date | Wed, 04 Dec 2019 15:36:40 +0300 |
parents | 98fd810c13e0 |
children | 4add6ae1296f |
line wrap: on
line diff
--- a/xml/en/docs/stream/ngx_stream_upstream_module.xml Mon Dec 02 13:23:05 2019 +0300 +++ b/xml/en/docs/stream/ngx_stream_upstream_module.xml Wed Dec 04 15:36:40 2019 +0300 @@ -9,7 +9,7 @@ <module name="Module ngx_stream_upstream_module" link="/en/docs/stream/ngx_stream_upstream_module.html" lang="en" - rev="38"> + rev="39"> <section id="summary"> @@ -235,21 +235,10 @@ The server group must reside in the <link id="zone">shared memory</link>. <para> In order for this parameter to work, -the <link doc="ngx_stream_core_module.xml" id="resolver"/> directive +the <literal>resolver</literal> directive must be specified in the -<link doc="ngx_stream_core_module.xml" id="stream"/> block. -Example: -<example> -stream { - resolver 10.0.0.1; - - upstream u { - zone ...; - ... - server example.com:12345 resolve; - } -} -</example> +<link doc="ngx_stream_core_module.xml" id="resolver">stream</link> block +or in the corresponding <link id="resolver">upstream</link> block. </para> </tag-desc>