# HG changeset patch # User Ruslan Ermilov # Date 1355245158 0 # Node ID 7d15bd7fc58df9c4ed97a988dcbf5b7687381c94 # Parent 6e63a58b28cf2ea62b2faf2f2d26f80cbfb0c76d The "auth_basic" directive now supports variables. diff --git a/xml/en/docs/http/ngx_http_auth_basic_module.xml b/xml/en/docs/http/ngx_http_auth_basic_module.xml --- a/xml/en/docs/http/ngx_http_auth_basic_module.xml +++ b/xml/en/docs/http/ngx_http_auth_basic_module.xml @@ -10,7 +10,7 @@ + rev="3">
@@ -58,9 +58,10 @@ location / { Enables validation of user name and password using the “HTTP Basic Authentication” protocol. The specified parameter is used as a realm. -The parameter off allows to cancel the effect of the -auth_basic directive inherited from the previous -configuration level. +Value of the parameter can contain variables (1.3.10). +The special value off allows to cancel the effect +of the auth_basic directive +inherited from the previous configuration level. diff --git a/xml/ru/docs/http/ngx_http_auth_basic_module.xml b/xml/ru/docs/http/ngx_http_auth_basic_module.xml --- a/xml/ru/docs/http/ngx_http_auth_basic_module.xml +++ b/xml/ru/docs/http/ngx_http_auth_basic_module.xml @@ -10,7 +10,7 @@ + rev="3">
@@ -58,8 +58,10 @@ location / { Включает проверку имени и пароля пользователя по протоколу “HTTP Basic Authentication”. Заданный параметр используется в качестве realm. -Параметр off позволяет отменить действие унаследованной -с предыдущего уровня конфигурации директивы auth_basic. +В значении параметра допустимо использование переменных (1.3.10). +Специальное значение off позволяет отменить действие +унаследованной с предыдущего уровня конфигурации +директивы auth_basic.