comparison 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
comparison
equal deleted inserted replaced
792:ceb8a4e374b7 793:9104a921d940
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="3"> 13 rev="4">
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 to pass 18 The <literal>ngx_http_fastcgi_module</literal> module allows to pass
201 <context>location</context> 201 <context>location</context>
202 <appeared-in>1.1.12</appeared-in> 202 <appeared-in>1.1.12</appeared-in>
203 203
204 <para> 204 <para>
205 Sets a timeout for <link id="fastcgi_cache_lock"/>. 205 Sets a timeout for <link id="fastcgi_cache_lock"/>.
206 </para>
207
208 </directive>
209
210
211 <directive name="fastcgi_cache_methods">
212 <syntax>
213 <literal>GET</literal> |
214 <literal>HEAD</literal> |
215 <literal>POST</literal>
216 ...</syntax>
217 <default>GET HEAD</default>
218 <context>http</context>
219 <context>server</context>
220 <context>location</context>
221 <appeared-in>0.7.59</appeared-in>
222
223 <para>
224 If the client request method is listed in this directive then
225 the response will be cached.
226 “<literal>GET</literal>” and “<literal>HEAD</literal>” methods are always
227 added to the list, though it is recommended to specify them explicitly.
228 See also the <link id="fastcgi_no_cache"/> directive.
206 </para> 229 </para>
207 230
208 </directive> 231 </directive>
209 232
210 233
782 </para> 805 </para>
783 806
784 </directive> 807 </directive>
785 808
786 809
810 <directive name="fastcgi_pass_request_body">
811 <syntax><literal>on</literal> | <literal>off</literal></syntax>
812 <default>on</default>
813 <context>http</context>
814 <context>server</context>
815 <context>location</context>
816
817 <para>
818 If disabled, the original request body will not be passed
819 to the FastCGI server.
820 See also the <link id="fastcgi_pass_request_headers"/> directive.
821 </para>
822
823 </directive>
824
825
826 <directive name="fastcgi_pass_request_headers">
827 <syntax><literal>on</literal> | <literal>off</literal></syntax>
828 <default>on</default>
829 <context>http</context>
830 <context>server</context>
831 <context>location</context>
832
833 <para>
834 If disabled, header fields of the original request will not be passed to the
835 FastCGI server.
836 See also the <link id="fastcgi_pass_request_body"/> directive.
837 </para>
838
839 </directive>
840
841
787 <directive name="fastcgi_send_lowat"> 842 <directive name="fastcgi_send_lowat">
788 <syntax><value>size</value></syntax> 843 <syntax><value>size</value></syntax>
789 <default>0</default> 844 <default>0</default>
790 <context>http</context> 845 <context>http</context>
791 <context>server</context> 846 <context>server</context>