Mercurial > hg > nginx-site
comparison xml/en/docs/http/ngx_http_fastcgi_module.xml @ 364:bb51d3e17dd0
Style fixed.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Fri, 27 Jan 2012 10:39:12 +0000 |
parents | a4fa80755eab |
children | f8248d0e3c8f |
comparison
equal
deleted
inserted
replaced
363:c7fccbe03827 | 364:bb51d3e17dd0 |
---|---|
181 </directive> | 181 </directive> |
182 | 182 |
183 | 183 |
184 <directive name="fastcgi_cache_path"> | 184 <directive name="fastcgi_cache_path"> |
185 <syntax> | 185 <syntax> |
186 <value>path</value> | 186 <value>path</value> |
187 [<literal>levels</literal>=<value>levels</value>] | 187 [<literal>levels</literal>=<value>levels</value>] |
188 <literal>keys_zone</literal>=<value>name</value>:<value>size</value> | 188 <literal>keys_zone</literal>=<value>name</value>:<value>size</value> |
189 [<literal>inactive</literal>=<value>time</value>] | 189 [<literal>inactive</literal>=<value>time</value>] |
190 [<literal>max_size</literal>=<value>size</value>]</syntax> | 190 [<literal>max_size</literal>=<value>size</value>]</syntax> |
191 <default/> | 191 <default/> |
192 <context>http</context> | 192 <context>http</context> |
193 | 193 |
194 <para> | 194 <para> |
195 Sets path and other parameters of a cache. | 195 Sets path and other parameters of a cache. |
237 </directive> | 237 </directive> |
238 | 238 |
239 | 239 |
240 <directive name="fastcgi_cache_use_stale"> | 240 <directive name="fastcgi_cache_use_stale"> |
241 <syntax> | 241 <syntax> |
242 <literal>error</literal> | | 242 <literal>error</literal> | |
243 <literal>timeout</literal> | | 243 <literal>timeout</literal> | |
244 <literal>invalid_header</literal> | | 244 <literal>invalid_header</literal> | |
245 <literal>updating</literal> | | 245 <literal>updating</literal> | |
246 <literal>http_500</literal> | | 246 <literal>http_500</literal> | |
247 <literal>http_503</literal> | | 247 <literal>http_503</literal> | |
248 <literal>http_404</literal> | | 248 <literal>http_404</literal> | |
249 <literal>off</literal> | 249 <literal>off</literal> |
250 ...</syntax> | 250 ...</syntax> |
251 <default>off</default> | 251 <default>off</default> |
252 <context>http</context> | 252 <context>http</context> |
253 <context>server</context> | 253 <context>server</context> |
254 <context>location</context> | 254 <context>location</context> |
255 | 255 |
427 <para> | 427 <para> |
428 By default, a FastCGI server will close a connection right after | 428 By default, a FastCGI server will close a connection right after |
429 sending the response. | 429 sending the response. |
430 When set to the value <literal>on</literal>, nginx will instruct | 430 When set to the value <literal>on</literal>, nginx will instruct |
431 a FastCGI server to keep connections open. | 431 a FastCGI server to keep connections open. |
432 This in particular is necessary for | 432 This in particular is necessary for |
433 <link doc="ngx_http_upstream_module.xml" id="keepalive"/> | 433 <link doc="ngx_http_upstream_module.xml" id="keepalive"/> |
434 connections to FastCGI servers to function. | 434 connections to FastCGI servers to function. |
435 </para> | 435 </para> |
436 | 436 |
437 </directive> | 437 </directive> |
438 | 438 |
439 | 439 |
440 <directive name="fastcgi_next_upstream"> | 440 <directive name="fastcgi_next_upstream"> |
441 <syntax> | 441 <syntax> |
442 <literal>error</literal> | | 442 <literal>error</literal> | |
443 <literal>timeout</literal> | | 443 <literal>timeout</literal> | |
444 <literal>invalid_header</literal> | | 444 <literal>invalid_header</literal> | |
445 <literal>http_500</literal> | | 445 <literal>http_500</literal> | |
446 <literal>http_503</literal> | | 446 <literal>http_503</literal> | |
447 <literal>http_404</literal> | | 447 <literal>http_404</literal> | |
448 <literal>off</literal> | 448 <literal>off</literal> |
449 ...</syntax> | 449 ...</syntax> |
450 <default>error timeout</default> | 450 <default>error timeout</default> |
451 <context>http</context> | 451 <context>http</context> |
452 <context>server</context> | 452 <context>server</context> |
453 <context>location</context> | 453 <context>location</context> |
454 | 454 |
819 | 819 |
820 | 820 |
821 <section id="variables" name="Embedded Variables"> | 821 <section id="variables" name="Embedded Variables"> |
822 | 822 |
823 <para> | 823 <para> |
824 The <literal>ngx_http_fastcgi_module</literal> module supports embedded variables | 824 The <literal>ngx_http_fastcgi_module</literal> module supports embedded |
825 that can be used to set parameters using the | 825 variables that can be used to set parameters using the |
826 <link id="fastcgi_param"/> directive: | 826 <link id="fastcgi_param"/> directive: |
827 <list type="tag"> | 827 <list type="tag"> |
828 | 828 |
829 <tag-name><var>$fastcgi_script_name</var></tag-name> | 829 <tag-name><var>$fastcgi_script_name</var></tag-name> |
830 <tag-desc> | 830 <tag-desc> |