Mercurial > hg > nginx-site
comparison xml/en/docs/http/ngx_http_fastcgi_module.xml @ 1696:d855e7cc3b2f
Added the "transparent" parameter of proxy_bind and friends.
author | Yaroslav Zhuravlev <yar@nginx.com> |
---|---|
date | Thu, 28 Apr 2016 17:27:44 +0300 |
parents | 9c98c4498f08 |
children | ae6bdb65ca7f |
comparison
equal
deleted
inserted
replaced
1695:aa95174efa80 | 1696:d855e7cc3b2f |
---|---|
8 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd"> | 8 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd"> |
9 | 9 |
10 <module name="Module ngx_http_fastcgi_module" | 10 <module name="Module ngx_http_fastcgi_module" |
11 link="/en/docs/http/ngx_http_fastcgi_module.html" | 11 link="/en/docs/http/ngx_http_fastcgi_module.html" |
12 lang="en" | 12 lang="en" |
13 rev="33"> | 13 rev="34"> |
14 | 14 |
15 <section id="summary"> | 15 <section id="summary"> |
16 | 16 |
17 <para> | 17 <para> |
18 The <literal>ngx_http_fastcgi_module</literal> module allows passing | 18 The <literal>ngx_http_fastcgi_module</literal> module allows passing |
43 | 43 |
44 | 44 |
45 <section id="directives" name="Directives"> | 45 <section id="directives" name="Directives"> |
46 | 46 |
47 <directive name="fastcgi_bind"> | 47 <directive name="fastcgi_bind"> |
48 <syntax><value>address</value> | <literal>off</literal></syntax> | 48 <syntax><value>address</value> [transparent] | <literal>off</literal></syntax> |
49 <default/> | 49 <default/> |
50 <context>http</context> | 50 <context>http</context> |
51 <context>server</context> | 51 <context>server</context> |
52 <context>location</context> | 52 <context>location</context> |
53 <appeared-in>0.8.22</appeared-in> | 53 <appeared-in>0.8.22</appeared-in> |
58 Parameter value can contain variables (1.3.12). | 58 Parameter value can contain variables (1.3.12). |
59 The special value <literal>off</literal> (1.3.12) cancels the effect | 59 The special value <literal>off</literal> (1.3.12) cancels the effect |
60 of the <literal>fastcgi_bind</literal> directive | 60 of the <literal>fastcgi_bind</literal> directive |
61 inherited from the previous configuration level, which allows the | 61 inherited from the previous configuration level, which allows the |
62 system to auto-assign the local IP address. | 62 system to auto-assign the local IP address. |
63 </para> | |
64 | |
65 <para id="fastcgi_bind_transparent"> | |
66 The <literal>transparent</literal> parameter (1.11.0) allows | |
67 outgoing connections to a FastCGI server originate | |
68 from a non-local IP address, | |
69 for example, from a real IP address of a client: | |
70 <example> | |
71 fastcgi_bind $remote_addr transparent; | |
72 </example> | |
73 In order for this parameter to work, | |
74 it is necessary to run nginx worker processes with the | |
75 <link doc="../ngx_core_module.xml" id="user">superuser</link> privileges | |
76 and configure kernel routing table | |
77 to intercept network traffic from the FastCGI server. | |
63 </para> | 78 </para> |
64 | 79 |
65 </directive> | 80 </directive> |
66 | 81 |
67 | 82 |