Mercurial > hg > nginx-site
diff xml/en/docs/http/ngx_http_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/http/ngx_http_core_module.xml Tue Jul 19 17:09:46 2022 +0300 +++ b/xml/en/docs/http/ngx_http_core_module.xml Tue Jul 19 14:10:02 2022 +0100 @@ -10,7 +10,7 @@ <module name="Module ngx_http_core_module" link="/en/docs/http/ngx_http_core_module.html" lang="en" - rev="99"> + rev="100"> <section id="directives" name="Directives"> @@ -2180,6 +2180,7 @@ <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/> @@ -2206,7 +2207,8 @@ <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. <note> Resolving of names into IPv6 addresses is supported