doc: fixed the resolv.conf file name, reported by Thibault Charbonnier.

This commit is contained in:
Yichun Zhang (agentzh) 2018-03-27 14:33:06 -07:00
parent a4f399b3ac
commit 395e039e8e
1 changed files with 4 additions and 4 deletions

View File

@ -11,7 +11,7 @@ Table of Contents
* [For Users](#for-users)
* [For Bundle Maintainers](#for-bundle-maintainers)
* [Additional Features](#additional-features)
* [resolve.conf parsing](#resolveconf-parsing)
* [resolv.conf parsing](#resolvconf-parsing)
* [Mailing List](#mailing-list)
* [Report Bugs](#report-bugs)
* [Copyright & License](#copyright--license)
@ -70,7 +70,7 @@ In additional to the standard nginx core features, this bundle also supports the
[Back to TOC](#table-of-contents)
resolve.conf parsing
resolv.conf parsing
--------------------
**syntax:** *resolver address ... [valid=time] [ipv6=on|off] [local=on|off|path]*
@ -80,10 +80,10 @@ resolve.conf parsing
**context:** *http, stream, server, location*
Similar to the [`resolver` directive](https://nginx.org/en/docs/http/ngx_http_core_module.html#resolver)
in standard nginx core with additional support for parsing additional resolvers from the `resolve.conf` file
in standard nginx core with additional support for parsing additional resolvers from the `resolv.conf` file
format.
When `local=on`, the standard path of `/etc/resolver.conf` will be used. You may also specify arbitrary
When `local=on`, the standard path of `/etc/resolv.conf` will be used. You may also specify arbitrary
path to be used for parsing, for example: `local=/tmp/test.conf`.
When `local=off`, parsing will be disabled (this is the default).