Mercurial > hg > nginx-site
changeset 788:753ed7df8910
Documented what will be the default value of "geo" if "default" isn't set.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Fri, 21 Dec 2012 08:55:43 +0000 |
parents | 180a64c709d8 |
children | 1063836dacea |
files | xml/en/docs/http/ngx_http_geo_module.xml xml/ru/docs/http/ngx_http_geo_module.xml |
diffstat | 2 files changed, 6 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/xml/en/docs/http/ngx_http_geo_module.xml +++ b/xml/en/docs/http/ngx_http_geo_module.xml @@ -10,7 +10,7 @@ <module name="Module ngx_http_geo_module" link="/en/docs/http/ngx_http_geo_module.html" lang="en" - rev="2"> + rev="3"> <section id="summary"> @@ -86,6 +86,8 @@ a value of variable if the client addres match any of the specified addresses. When CIDR is used, “<literal>0.0.0.0/0</literal>” can be written instead of <literal>default</literal>. +When <literal>default</literal> is not specified, the default +value will be an empty string. </tag-desc> <tag-name><literal>include</literal></tag-name>
--- a/xml/ru/docs/http/ngx_http_geo_module.xml +++ b/xml/ru/docs/http/ngx_http_geo_module.xml @@ -10,7 +10,7 @@ <module name="Модуль ngx_http_geo_module" link="/ru/docs/http/ngx_http_geo_module.html" lang="ru" - rev="2"> + rev="3"> <section id="summary"> @@ -87,6 +87,8 @@ geo $arg_remote_addr $geo { ни одному заданному адресу. При использовании CIDR вместо <literal>default</literal> можно также написать “<literal>0.0.0.0/0</literal>”. +Если параметр <literal>default</literal> не указан, значением +по умолчанию будет пустая строка. </tag-desc> <tag-name><literal>include</literal></tag-name>