Mercurial > hg > nginx-site
comparison xml/en/docs/http/ngx_http_fastcgi_module.xml @ 1343:1bdde28e359b
Fixed fallouts from the previous change.
- Put the fastcgi_limit_rate in the correct order.
- Make it clear which connections are meant.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Tue, 28 Oct 2014 19:26:23 +0300 |
parents | 758fc0b02651 |
children | da296387cdac |
comparison
equal
deleted
inserted
replaced
1342:758fc0b02651 | 1343:1bdde28e359b |
---|---|
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="20"> | 13 rev="21"> |
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 passing | 18 The <literal>ngx_http_fastcgi_module</literal> module allows passing |
729 </para> | 729 </para> |
730 | 730 |
731 </directive> | 731 </directive> |
732 | 732 |
733 | 733 |
734 <directive name="fastcgi_limit_rate"> | |
735 <syntax><value>rate</value></syntax> | |
736 <default>0</default> | |
737 <context>http</context> | |
738 <context>server</context> | |
739 <context>location</context> | |
740 <appeared-in>1.7.7</appeared-in> | |
741 | |
742 <para> | |
743 Limits the speed of reading the response from the FastCGI server. | |
744 The <value>rate</value> is specified in bytes per second. | |
745 The zero value disables rate limiting. | |
746 The limit is set per a request, and so if nginx simultaneously opens | |
747 two connections, the overall rate will be twice as much | |
748 as the specified limit. | |
749 The limitation works only if | |
750 <link id="fastcgi_buffering">buffering</link> of responses from the FastCGI | |
751 server is enabled. | |
752 </para> | |
753 | |
754 </directive> | |
755 | |
756 | |
757 <directive name="fastcgi_keep_conn"> | 734 <directive name="fastcgi_keep_conn"> |
758 <syntax><literal>on</literal> | <literal>off</literal></syntax> | 735 <syntax><literal>on</literal> | <literal>off</literal></syntax> |
759 <default>off</default> | 736 <default>off</default> |
760 <context>http</context> | 737 <context>http</context> |
761 <context>server</context> | 738 <context>server</context> |
768 However, when this directive is set to the value <literal>on</literal>, | 745 However, when this directive is set to the value <literal>on</literal>, |
769 nginx will instruct a FastCGI server to keep connections open. | 746 nginx will instruct a FastCGI server to keep connections open. |
770 This is necessary, in particular, for | 747 This is necessary, in particular, for |
771 <link doc="ngx_http_upstream_module.xml" id="keepalive"/> | 748 <link doc="ngx_http_upstream_module.xml" id="keepalive"/> |
772 connections to FastCGI servers to function. | 749 connections to FastCGI servers to function. |
750 </para> | |
751 | |
752 </directive> | |
753 | |
754 | |
755 <directive name="fastcgi_limit_rate"> | |
756 <syntax><value>rate</value></syntax> | |
757 <default>0</default> | |
758 <context>http</context> | |
759 <context>server</context> | |
760 <context>location</context> | |
761 <appeared-in>1.7.7</appeared-in> | |
762 | |
763 <para> | |
764 Limits the speed of reading the response from the FastCGI server. | |
765 The <value>rate</value> is specified in bytes per second. | |
766 The zero value disables rate limiting. | |
767 The limit is set per a request, and so if nginx simultaneously opens | |
768 two connections to the FastCFI server, | |
769 the overall rate will be twice as much as the specified limit. | |
770 The limitation works only if | |
771 <link id="fastcgi_buffering">buffering</link> of responses from the FastCGI | |
772 server is enabled. | |
773 </para> | 773 </para> |
774 | 774 |
775 </directive> | 775 </directive> |
776 | 776 |
777 | 777 |