comparison 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
comparison
equal deleted inserted replaced
1509:1bac783821f4 1510:f90c2ea1729e
7 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd"> 7 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd">
8 8
9 <module name="Module ngx_stream_proxy_module" 9 <module name="Module ngx_stream_proxy_module"
10 link="/en/docs/stream/ngx_stream_proxy_module.html" 10 link="/en/docs/stream/ngx_stream_proxy_module.html"
11 lang="en" 11 lang="en"
12 rev="5"> 12 rev="6">
13 13
14 <section id="summary"> 14 <section id="summary">
15 15
16 <para> 16 <para>
17 The <literal>ngx_stream_proxy_module</literal> module (1.9.0) allows passing 17 The <literal>ngx_stream_proxy_module</literal> module (1.9.0) allows passing
46 46
47 </section> 47 </section>
48 48
49 49
50 <section id="directives" name="Directives"> 50 <section id="directives" name="Directives">
51
52 <directive name="proxy_bind">
53 <syntax><value>address</value> | <literal>off</literal></syntax>
54 <default/>
55 <context>stream</context>
56 <context>server</context>
57 <appeared-in>1.9.2</appeared-in>
58
59 <para>
60 Makes outgoing connections to a proxied server originate
61 from the specified local IP <value>address</value>.
62 The special value <literal>off</literal> cancels the effect
63 of the <literal>proxy_bind</literal> directive
64 inherited from the previous configuration level, which allows the
65 system to auto-assign the local IP address.
66 </para>
67
68 </directive>
69
51 70
52 <directive name="proxy_connect_timeout"> 71 <directive name="proxy_connect_timeout">
53 <syntax><value>time</value></syntax> 72 <syntax><value>time</value></syntax>
54 <default>60s</default> 73 <default>60s</default>
55 <context>stream</context> 74 <context>stream</context>