Mercurial > hg > nginx-site
diff xml/ru/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/ru/docs/http/ngx_http_fastcgi_module.xml +++ b/xml/ru/docs/http/ngx_http_fastcgi_module.xml @@ -10,7 +10,7 @@ <module name="Модуль ngx_http_fastcgi_module" link="/ru/docs/http/ngx_http_fastcgi_module.html" lang="ru" - rev="3"> + rev="4"> <section id="summary"> @@ -207,6 +207,29 @@ fastcgi_cache_key localhost:9000$request </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> +Если метод запроса клиента указан в этой директиве, +то ответ будет закэширован. +Методы “<literal>GET</literal>” и “<literal>HEAD</literal>” всегда добавляются +в список, но тем не менее рекомендуется перечислять их явно. +См. также директиву <link id="fastcgi_no_cache"/>. +</para> + +</directive> + + <directive name="fastcgi_cache_min_uses"> <syntax><value>число</value></syntax> <default>1</default> @@ -778,6 +801,38 @@ fastcgi_pass unix:/tmp/fastcgi.socket; </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> +Если запрещено, то исходное тело запроса не будет передано +на FastCGI-сервер. +См. также директиву <link id="fastcgi_pass_request_headers"/>. +</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> +Если запрещено, то поля заголовка исходного запроса не будут переданы на +FastCGI-сервер. +См. также директивы <link id="fastcgi_pass_request_body"/>. +</para> + +</directive> + + <directive name="fastcgi_send_lowat"> <syntax><value>размер</value></syntax> <default>0</default>