Mercurial > hg > nginx-site
diff xml/en/docs/stream/ngx_stream_proxy_module.xml @ 1510:f90c2ea1729e
Documented the "proxy_bind" directive for stream.
author | Yaroslav Zhuravlev <yar@nginx.com> |
---|---|
date | Tue, 16 Jun 2015 13:39:33 +0300 |
parents | 3687cc9a3592 |
children | eef30c3dc519 |
line wrap: on
line diff
--- a/xml/en/docs/stream/ngx_stream_proxy_module.xml Tue Jun 16 06:30:18 2015 +0000 +++ b/xml/en/docs/stream/ngx_stream_proxy_module.xml Tue Jun 16 13:39:33 2015 +0300 @@ -9,7 +9,7 @@ <module name="Module ngx_stream_proxy_module" link="/en/docs/stream/ngx_stream_proxy_module.html" lang="en" - rev="5"> + rev="6"> <section id="summary"> @@ -49,6 +49,25 @@ <section id="directives" name="Directives"> +<directive name="proxy_bind"> +<syntax><value>address</value> | <literal>off</literal></syntax> +<default/> +<context>stream</context> +<context>server</context> +<appeared-in>1.9.2</appeared-in> + +<para> +Makes outgoing connections to a proxied server originate +from the specified local IP <value>address</value>. +The special value <literal>off</literal> cancels the effect +of the <literal>proxy_bind</literal> directive +inherited from the previous configuration level, which allows the +system to auto-assign the local IP address. +</para> + +</directive> + + <directive name="proxy_connect_timeout"> <syntax><value>time</value></syntax> <default>60s</default>