Mercurial > hg > nginx-site
changeset 815:ed29fd8be462
*_bind: variables support and inheritance.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Wed, 16 Jan 2013 14:29:10 +0400 |
parents | f46a132af596 |
children | c711c50bdcf4 |
files | xml/en/docs/http/ngx_http_fastcgi_module.xml xml/en/docs/http/ngx_http_memcached_module.xml xml/en/docs/http/ngx_http_proxy_module.xml xml/ru/docs/http/ngx_http_fastcgi_module.xml xml/ru/docs/http/ngx_http_memcached_module.xml xml/ru/docs/http/ngx_http_proxy_module.xml |
diffstat | 6 files changed, 43 insertions(+), 13 deletions(-) [+] |
line wrap: on
line diff
--- a/xml/en/docs/http/ngx_http_fastcgi_module.xml +++ b/xml/en/docs/http/ngx_http_fastcgi_module.xml @@ -10,7 +10,7 @@ <module name="Module ngx_http_fastcgi_module" link="/en/docs/http/ngx_http_fastcgi_module.html" lang="en" - rev="4"> + rev="5"> <section id="summary"> @@ -45,7 +45,7 @@ location / { <section id="directives" name="Directives"> <directive name="fastcgi_bind"> -<syntax><value>address</value></syntax> +<syntax><value>address</value> | <literal>off</literal></syntax> <default/> <context>http</context> <context>server</context> @@ -55,6 +55,11 @@ location / { <para> Forces outgoing connections to a FastCGI server to originate from the specified local IP <value>address</value>. +Value of the parameter can contain variables (1.3.12). +The special value <literal>off</literal> (1.3.12) cancels the effect +of the <literal>fastcgi_bind</literal> directive +inherited from the previous configuration level, allowing the +system to auto-assign local address. </para> </directive>
--- a/xml/en/docs/http/ngx_http_memcached_module.xml +++ b/xml/en/docs/http/ngx_http_memcached_module.xml @@ -10,7 +10,7 @@ <module name="Module ngx_http_memcached_module" link="/en/docs/http/ngx_http_memcached_module.html" lang="en" - rev="4"> + rev="5"> <section id="summary"> @@ -49,7 +49,7 @@ server { <section id="directives" name="Directives"> <directive name="memcached_bind"> -<syntax><value>address</value></syntax> +<syntax><value>address</value> | <literal>off</literal></syntax> <default/> <context>http</context> <context>server</context> @@ -59,6 +59,11 @@ server { <para> Forces outgoing connections to a memcached server to originate from the specified local IP <value>address</value>. +Value of the parameter can contain variables (1.3.12). +The special value <literal>off</literal> (1.3.12) cancels the effect +of the <literal>memcached_bind</literal> directive +inherited from the previous configuration level, allowing the +system to auto-assign local address. </para> </directive>
--- a/xml/en/docs/http/ngx_http_proxy_module.xml +++ b/xml/en/docs/http/ngx_http_proxy_module.xml @@ -10,7 +10,7 @@ <module name="Module ngx_http_proxy_module" link="/en/docs/http/ngx_http_proxy_module.html" lang="en" - rev="7"> + rev="8"> <section id="summary"> @@ -40,7 +40,7 @@ location / { <section id="directives" name="Directives"> <directive name="proxy_bind"> -<syntax><value>address</value></syntax> +<syntax><value>address</value> | <literal>off</literal></syntax> <default/> <context>http</context> <context>server</context> @@ -50,6 +50,11 @@ location / { <para> Forces outgoing connections to a proxied server to originate from the specified local IP <value>address</value>. +Value of the parameter can contain variables (1.3.12). +The special value <literal>off</literal> (1.3.12) cancels the effect +of the <literal>proxy_bind</literal> directive +inherited from the previous configuration level, allowing the +system to auto-assign local address. </para> </directive>
--- a/xml/ru/docs/http/ngx_http_fastcgi_module.xml +++ b/xml/ru/docs/http/ngx_http_fastcgi_module.xml @@ -10,7 +10,7 @@ <module name="Модуль ngx_http_fastcgi_module" link="/ru/docs/http/ngx_http_fastcgi_module.html" lang="ru" - rev="4"> + rev="5"> <section id="summary"> @@ -45,7 +45,7 @@ location / { <section id="directives" name="Директивы"> <directive name="fastcgi_bind"> -<syntax><value>адрес</value></syntax> +<syntax><value>адрес</value> | <literal>off</literal></syntax> <default/> <context>http</context> <context>server</context> @@ -55,6 +55,11 @@ location / { <para> Задаёт локальный IP-<value>адрес</value>, который будет использоваться в исходящих соединениях с FastCGI-сервером. +В значении параметра допустимо использование переменных (1.3.12). +Специальное значение <literal>off</literal> (1.3.12) отменяет действие +унаследованной с предыдущего уровня конфигурации +директивы <literal>fastcgi_bind</literal>, позволяя системе +самостоятельно выбирать локальный адрес. </para> </directive>
--- a/xml/ru/docs/http/ngx_http_memcached_module.xml +++ b/xml/ru/docs/http/ngx_http_memcached_module.xml @@ -10,7 +10,7 @@ <module name="Модуль ngx_http_memcached_module" link="/ru/docs/http/ngx_http_memcached_module.html" lang="ru" - rev="4"> + rev="5"> <section id="summary"> @@ -49,7 +49,7 @@ server { <section id="directives" name="Директивы"> <directive name="memcached_bind"> -<syntax><value>адрес</value></syntax> +<syntax><value>адрес</value> | <literal>off</literal></syntax> <default/> <context>http</context> <context>server</context> @@ -59,6 +59,11 @@ server { <para> Задаёт локальный IP-<value>адрес</value>, который будет использоваться в исходящих соединениях с сервером memcached. +В значении параметра допустимо использование переменных (1.3.12). +Специальное значение <literal>off</literal> (1.3.12) отменяет действие +унаследованной с предыдущего уровня конфигурации +директивы <literal>memcached_bind</literal>, позволяя системе +самостоятельно выбирать локальный адрес. </para> </directive>
--- a/xml/ru/docs/http/ngx_http_proxy_module.xml +++ b/xml/ru/docs/http/ngx_http_proxy_module.xml @@ -10,7 +10,7 @@ <module name="Модуль ngx_http_proxy_module" link="/ru/docs/http/ngx_http_proxy_module.html" lang="ru" - rev="7"> + rev="8"> <section id="summary"> @@ -40,8 +40,8 @@ location / { <section id="directives" name="Директивы"> <directive name="proxy_bind"> -<syntax><value>адрес</value></syntax> -<default/> +<syntax><value>адрес</value> | <literal>off</literal></syntax> +<default>off</default> <context>http</context> <context>server</context> <context>location</context> @@ -50,6 +50,11 @@ location / { <para> Задаёт локальный IP-<value>адрес</value>, который будет использоваться в исходящих соединениях с проксируемым сервером. +В значении параметра допустимо использование переменных (1.3.12). +Специальное значение <literal>off</literal> (1.3.12) отменяет действие +унаследованной с предыдущего уровня конфигурации +директивы <literal>proxy_bind</literal>, позволяя системе +самостоятельно выбирать локальный адрес. </para> </directive>