Mercurial > hg > nginx-site
diff xml/en/docs/http/ngx_http_fastcgi_module.xml @ 316:1fb1c077658b
Documented the following directives: "keepalive", "proxy_http_version",
and "fastcgi_keep_conn".
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Fri, 13 Jan 2012 18:10:34 +0000 |
parents | 86732337c730 |
children | a4fa80755eab |
line wrap: on
line diff
--- a/xml/en/docs/http/ngx_http_fastcgi_module.xml Fri Jan 13 18:05:01 2012 +0000 +++ b/xml/en/docs/http/ngx_http_fastcgi_module.xml Fri Jan 13 18:10:34 2012 +0000 @@ -417,6 +417,26 @@ </directive> +<directive name="fastcgi_keep_conn"> +<syntax><literal>on</literal> | <literal>off</literal></syntax> +<default>off</default> +<context>http</context> +<context>server</context> +<context>location</context> + +<para> +By default, a FastCGI server will close a connection right after +sending the response. +When set to the value <literal>on</literal>, nginx will instruct +a FastCGI server to keep connections open. +This in particular is necessary for +<link doc="ngx_http_upstream_module.xml" id="keepalive"/> +connections to FastCGI servers to function. +</para> + +</directive> + + <directive name="fastcgi_next_upstream"> <syntax> <literal>error</literal> |