Mercurial > hg > nginx-site
diff 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 |
line wrap: on
line diff
--- a/xml/en/docs/http/ngx_http_fastcgi_module.xml Wed May 04 17:35:39 2016 +0300 +++ b/xml/en/docs/http/ngx_http_fastcgi_module.xml Thu Apr 28 17:27:44 2016 +0300 @@ -10,7 +10,7 @@ <module name="Module ngx_http_fastcgi_module" link="/en/docs/http/ngx_http_fastcgi_module.html" lang="en" - rev="33"> + rev="34"> <section id="summary"> @@ -45,7 +45,7 @@ <section id="directives" name="Directives"> <directive name="fastcgi_bind"> -<syntax><value>address</value> | <literal>off</literal></syntax> +<syntax><value>address</value> [transparent] | <literal>off</literal></syntax> <default/> <context>http</context> <context>server</context> @@ -62,6 +62,21 @@ system to auto-assign the local IP address. </para> +<para id="fastcgi_bind_transparent"> +The <literal>transparent</literal> parameter (1.11.0) allows +outgoing connections to a FastCGI server originate +from a non-local IP address, +for example, from a real IP address of a client: +<example> +fastcgi_bind $remote_addr transparent; +</example> +In order for this parameter to work, +it is necessary to run nginx worker processes with the +<link doc="../ngx_core_module.xml" id="user">superuser</link> privileges +and configure kernel routing table +to intercept network traffic from the FastCGI server. +</para> + </directive>