Mercurial > hg > nginx-site
changeset 784:7d15bd7fc58d
The "auth_basic" directive now supports variables.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Tue, 11 Dec 2012 16:59:18 +0000 |
parents | 6e63a58b28cf |
children | d84a97e02b45 |
files | xml/en/docs/http/ngx_http_auth_basic_module.xml xml/ru/docs/http/ngx_http_auth_basic_module.xml |
diffstat | 2 files changed, 10 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/xml/en/docs/http/ngx_http_auth_basic_module.xml Tue Dec 11 14:53:58 2012 +0000 +++ b/xml/en/docs/http/ngx_http_auth_basic_module.xml Tue Dec 11 16:59:18 2012 +0000 @@ -10,7 +10,7 @@ <module name="Module ngx_http_auth_basic_module" link="/en/docs/http/ngx_http_auth_basic_module.html" lang="en" - rev="2"> + rev="3"> <section id="summary"> @@ -58,9 +58,10 @@ Enables validation of user name and password using the “HTTP Basic Authentication” protocol. The specified parameter is used as a <value>realm</value>. -The parameter <literal>off</literal> allows to cancel the effect of the -<literal>auth_basic</literal> directive inherited from the previous -configuration level. +Value of the parameter can contain variables (1.3.10). +The special value <literal>off</literal> allows to cancel the effect +of the <literal>auth_basic</literal> directive +inherited from the previous configuration level. </para> </directive>
--- a/xml/ru/docs/http/ngx_http_auth_basic_module.xml Tue Dec 11 14:53:58 2012 +0000 +++ b/xml/ru/docs/http/ngx_http_auth_basic_module.xml Tue Dec 11 16:59:18 2012 +0000 @@ -10,7 +10,7 @@ <module name="Модуль ngx_http_auth_basic_module" link="/ru/docs/http/ngx_http_auth_basic_module.html" lang="ru" - rev="2"> + rev="3"> <section id="summary"> @@ -58,8 +58,10 @@ Включает проверку имени и пароля пользователя по протоколу “HTTP Basic Authentication”. Заданный параметр используется в качестве <value>realm</value>. -Параметр <literal>off</literal> позволяет отменить действие унаследованной -с предыдущего уровня конфигурации директивы <literal>auth_basic</literal>. +В значении параметра допустимо использование переменных (1.3.10). +Специальное значение <literal>off</literal> позволяет отменить действие +унаследованной с предыдущего уровня конфигурации +директивы <literal>auth_basic</literal>. </para> </directive>