Mercurial > hg > nginx-site
changeset 1157:a8a643647c76
Added descriptions for $invalid_referer and $memcached_key.
author | Vladimir Homutov <vl@nginx.com> |
---|---|
date | Wed, 16 Apr 2014 17:07:37 +0400 |
parents | 8e8a6a7cff2b |
children | 48f411449e2b |
files | xml/en/docs/http/ngx_http_memcached_module.xml xml/en/docs/http/ngx_http_referer_module.xml xml/ru/docs/http/ngx_http_memcached_module.xml xml/ru/docs/http/ngx_http_referer_module.xml |
diffstat | 4 files changed, 72 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/xml/en/docs/http/ngx_http_memcached_module.xml Wed Apr 16 14:22:51 2014 +0400 +++ b/xml/en/docs/http/ngx_http_memcached_module.xml Wed Apr 16 17:07:37 2014 +0400 @@ -10,7 +10,7 @@ <module name="Module ngx_http_memcached_module" link="/en/docs/http/ngx_http_memcached_module.html" lang="en" - rev="6"> + rev="7"> <section id="summary"> @@ -241,4 +241,20 @@ </section> + +<section id="variables" name="Embedded Variables"> + +<para> +<list type="tag"> + +<tag-name id="var_memcached_key"><var>$memcached_key</var></tag-name> +<tag-desc> +Defines a key for obtaining response from a memcached server. +</tag-desc> + +</list> +</para> + +</section> + </module>
--- a/xml/en/docs/http/ngx_http_referer_module.xml Wed Apr 16 14:22:51 2014 +0400 +++ b/xml/en/docs/http/ngx_http_referer_module.xml Wed Apr 16 17:07:37 2014 +0400 @@ -10,7 +10,7 @@ <module name="Module ngx_http_referer_module" link="/en/docs/http/ngx_http_referer_module.html" lang="en" - rev="1"> + rev="2"> <section id="summary"> @@ -154,4 +154,22 @@ </section> + +<section id="variables" name="Embedded Variables"> + +<para> +<list type="tag"> + +<tag-name id="var_invalid_referer"><var>$invalid_referer</var></tag-name> +<tag-desc> +Empty string, if the <header>Referer</header> request header field +value is considered +<link id="valid_referers">valid</link>, otherwise “<literal>1</literal>”. +</tag-desc> + +</list> +</para> + +</section> + </module>
--- a/xml/ru/docs/http/ngx_http_memcached_module.xml Wed Apr 16 14:22:51 2014 +0400 +++ b/xml/ru/docs/http/ngx_http_memcached_module.xml Wed Apr 16 17:07:37 2014 +0400 @@ -10,7 +10,7 @@ <module name="Модуль ngx_http_memcached_module" link="/ru/docs/http/ngx_http_memcached_module.html" lang="ru" - rev="6"> + rev="7"> <section id="summary"> @@ -239,4 +239,20 @@ </section> + +<section id="variables" name="Встроенные переменные"> + +<para> +<list type="tag"> + +<tag-name id="var_memcached_key"><var>$memcached_key</var></tag-name> +<tag-desc> +Задаёт ключ для получения ответа из сервера memcached. +</tag-desc> + +</list> +</para> + +</section> + </module>
--- a/xml/ru/docs/http/ngx_http_referer_module.xml Wed Apr 16 14:22:51 2014 +0400 +++ b/xml/ru/docs/http/ngx_http_referer_module.xml Wed Apr 16 17:07:37 2014 +0400 @@ -10,7 +10,7 @@ <module name="Модуль ngx_http_referer_module" link="/ru/docs/http/ngx_http_referer_module.html" lang="ru" - rev="1"> + rev="2"> <section id="summary"> @@ -155,4 +155,22 @@ </section> + +<section id="variables" name="Встроенные переменные"> + +<para> +<list type="tag"> + +<tag-name id="var_invalid_referer"><var>$invalid_referer</var></tag-name> +<tag-desc> +Пустая строка, если значение поля <header>Referer</header> заголовка запроса +считается +<link id="valid_referers">правильным</link>, иначе “<literal>1</literal>”. +</tag-desc> + +</list> +</para> + +</section> + </module>