Mercurial > hg > nginx-site
diff xml/en/docs/stream/ngx_stream_core_module.xml @ 2870:e06cf66a9f63
Documented the "ipv4=off" parameter of the "resolver" directive.
author | Yaroslav Zhuravlev <yar@nginx.com> |
---|---|
date | Tue, 19 Jul 2022 14:10:02 +0100 |
parents | 4add6ae1296f |
children | 44f3b52c0679 |
line wrap: on
line diff
--- a/xml/en/docs/stream/ngx_stream_core_module.xml +++ b/xml/en/docs/stream/ngx_stream_core_module.xml @@ -9,7 +9,7 @@ <module name="Module ngx_stream_core_module" link="/en/docs/stream/ngx_stream_core_module.html" lang="en" - rev="34"> + rev="35"> <section id="summary"> @@ -341,6 +341,7 @@ the connection is closed. <syntax> <value>address</value> ... [<literal>valid</literal>=<value>time</value>] + [<literal>ipv4</literal>=<literal>on</literal>|<literal>off</literal>] [<literal>ipv6</literal>=<literal>on</literal>|<literal>off</literal>] [<literal>status_zone</literal>=<value>zone</value>]</syntax> <default/> @@ -362,7 +363,8 @@ Name servers are queried in a round-robi <para id="resolver_ipv6"> By default, nginx will look up both IPv4 and IPv6 addresses while resolving. -If looking up of IPv6 addresses is not desired, +If looking up of IPv4 or IPv6 addresses is not desired, +the <literal>ipv4=off</literal> (1.23.1) or the <literal>ipv6=off</literal> parameter can be specified. </para>