Mercurial > hg > nginx-site
diff xml/en/docs/http/ngx_http_fastcgi_module.xml @ 793:9104a921d940
Documented "fastcgi_pass_request_body/headers" directives.
author | Vladimir Homutov <vl@nginx.com> |
---|---|
date | Tue, 25 Dec 2012 08:44:28 +0000 |
parents | 24b1b0101250 |
children | ed29fd8be462 |
line wrap: on
line diff
--- a/xml/en/docs/http/ngx_http_fastcgi_module.xml +++ b/xml/en/docs/http/ngx_http_fastcgi_module.xml @@ -10,7 +10,7 @@ <module name="Module ngx_http_fastcgi_module" link="/en/docs/http/ngx_http_fastcgi_module.html" lang="en" - rev="3"> + rev="4"> <section id="summary"> @@ -208,6 +208,29 @@ Sets a timeout for <link id="fastcgi_cac </directive> +<directive name="fastcgi_cache_methods"> +<syntax> + <literal>GET</literal> | + <literal>HEAD</literal> | + <literal>POST</literal> + ...</syntax> +<default>GET HEAD</default> +<context>http</context> +<context>server</context> +<context>location</context> +<appeared-in>0.7.59</appeared-in> + +<para> +If the client request method is listed in this directive then +the response will be cached. +“<literal>GET</literal>” and “<literal>HEAD</literal>” methods are always +added to the list, though it is recommended to specify them explicitly. +See also the <link id="fastcgi_no_cache"/> directive. +</para> + +</directive> + + <directive name="fastcgi_cache_min_uses"> <syntax><value>number</value></syntax> <default>1</default> @@ -784,6 +807,38 @@ a connection is closed. </directive> +<directive name="fastcgi_pass_request_body"> +<syntax><literal>on</literal> | <literal>off</literal></syntax> +<default>on</default> +<context>http</context> +<context>server</context> +<context>location</context> + +<para> +If disabled, the original request body will not be passed +to the FastCGI server. +See also the <link id="fastcgi_pass_request_headers"/> directive. +</para> + +</directive> + + +<directive name="fastcgi_pass_request_headers"> +<syntax><literal>on</literal> | <literal>off</literal></syntax> +<default>on</default> +<context>http</context> +<context>server</context> +<context>location</context> + +<para> +If disabled, header fields of the original request will not be passed to the +FastCGI server. +See also the <link id="fastcgi_pass_request_body"/> directive. +</para> + +</directive> + + <directive name="fastcgi_send_lowat"> <syntax><value>size</value></syntax> <default>0</default>