Mercurial > hg > nginx-site
diff xml/en/docs/http/ngx_http_geo_module.xml @ 966:95c3c3bbf1ce
Text review.
author | Egor Nikitin <yegor.nikitin@gmail.com> |
---|---|
date | Wed, 14 Aug 2013 12:03:41 +0400 |
parents | 9dab69f2b71d |
children |
line wrap: on
line diff
--- a/xml/en/docs/http/ngx_http_geo_module.xml Wed Aug 14 17:21:19 2013 +0400 +++ b/xml/en/docs/http/ngx_http_geo_module.xml Wed Aug 14 12:03:41 2013 +0400 @@ -16,7 +16,7 @@ <para> The <literal>ngx_http_geo_module</literal> module creates variables -whose values depend on the client IP address. +with values depending on the client IP address. </para> </section> @@ -52,7 +52,7 @@ <para> Describes the dependency of values of the specified variable on the client IP address. -By default an address is taken from the <var>$remote_addr</var> variable +By default, the address is taken from the <var>$remote_addr</var> variable, but it can also be taken from another variable (0.7.27), for example: <example> geo $arg_remote_addr $geo { @@ -65,7 +65,7 @@ <note> Since variables are evaluated only when used, the mere existence of even a large number of declared “<literal>geo</literal>” variables -does not incur any extra costs for request processing. +does not cause any extra costs for request processing. </note> </para> @@ -93,7 +93,7 @@ <tag-name><literal>default</literal></tag-name> <tag-desc> -a value of variable if the client address does not +a value set to the variable if the client address does not match any of the specified addresses. When addresses are specified in CIDR notation, “<literal>0.0.0.0/0</literal>” and “<literal>::/0</literal>” @@ -124,10 +124,10 @@ <tag-name><literal>proxy_recursive</literal></tag-name> <tag-desc> enables recursive address search (1.3.0, 1.2.1). -If recursive search is disabled then instead of an original client +If recursive search is disabled then instead of the original client address that matches one of the trusted addresses, the last address sent in <header>X-Forwarded-For</header> will be used. -If recursive search is enabled then instead an original client +If recursive search is enabled then instead of the original client address that matches one of the trusted addresses, the last non-trusted address sent in <header>X-Forwarded-For</header> will be used. </tag-desc> @@ -136,7 +136,7 @@ <tag-desc> indicates that addresses are specified as ranges (0.7.23). This parameter should be the first. -To speed up loading of a geo base, addresses should be put in increasing order. +To speed up loading of a geo base, addresses should be put in ascending order. </tag-desc> </list>