changeset 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 2079e44e748f
files xml/en/docs/http/ngx_http_fastcgi_module.xml xml/en/docs/http/ngx_http_proxy_module.xml xml/en/docs/http/ngx_http_scgi_module.xml xml/en/docs/http/ngx_http_uwsgi_module.xml xml/ru/docs/http/ngx_http_fastcgi_module.xml xml/ru/docs/http/ngx_http_proxy_module.xml xml/ru/docs/http/ngx_http_scgi_module.xml xml/ru/docs/http/ngx_http_uwsgi_module.xml
diffstat 8 files changed, 66 insertions(+), 66 deletions(-) [+]
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="20">
+        rev="21">
 
 <section id="summary">
 
@@ -731,29 +731,6 @@ with the <link doc="ngx_http_core_module
 </directive>
 
 
-<directive name="fastcgi_limit_rate">
-<syntax><value>rate</value></syntax>
-<default>0</default>
-<context>http</context>
-<context>server</context>
-<context>location</context>
-<appeared-in>1.7.7</appeared-in>
-
-<para>
-Limits the speed of reading the response from the FastCGI server.
-The <value>rate</value> is specified in bytes per second.
-The zero value disables rate limiting.
-The limit is set per a request, and so if nginx simultaneously opens
-two connections, the overall rate will be twice as much
-as the specified limit.
-The limitation works only if
-<link id="fastcgi_buffering">buffering</link> of responses from the FastCGI
-server is enabled.
-</para>
-
-</directive>
-
-
 <directive name="fastcgi_keep_conn">
 <syntax><literal>on</literal> | <literal>off</literal></syntax>
 <default>off</default>
@@ -775,6 +752,29 @@ connections to FastCGI servers to functi
 </directive>
 
 
+<directive name="fastcgi_limit_rate">
+<syntax><value>rate</value></syntax>
+<default>0</default>
+<context>http</context>
+<context>server</context>
+<context>location</context>
+<appeared-in>1.7.7</appeared-in>
+
+<para>
+Limits the speed of reading the response from the FastCGI server.
+The <value>rate</value> is specified in bytes per second.
+The zero value disables rate limiting.
+The limit is set per a request, and so if nginx simultaneously opens
+two connections to the FastCFI server,
+the overall rate will be twice as much as the specified limit.
+The limitation works only if
+<link id="fastcgi_buffering">buffering</link> of responses from the FastCGI
+server is enabled.
+</para>
+
+</directive>
+
+
 <directive name="fastcgi_max_temp_file_size">
 <syntax><value>size</value></syntax>
 <default>1024m</default>
--- a/xml/en/docs/http/ngx_http_proxy_module.xml
+++ b/xml/en/docs/http/ngx_http_proxy_module.xml
@@ -10,7 +10,7 @@
 <module name="Module ngx_http_proxy_module"
         link="/en/docs/http/ngx_http_proxy_module.html"
         lang="en"
-        rev="27">
+        rev="28">
 
 <section id="summary">
 
@@ -886,8 +886,8 @@ Limits the speed of reading the response
 The <value>rate</value> is specified in bytes per second.
 The zero value disables rate limiting.
 The limit is set per a request, and so if nginx simultaneously opens
-two connections, the overall rate will be twice as much
-as the specified limit.
+two connections to the proxied server,
+the overall rate will be twice as much as the specified limit.
 The limitation works only if
 <link id="proxy_buffering">buffering</link> of responses from the proxied
 server is enabled.
--- a/xml/en/docs/http/ngx_http_scgi_module.xml
+++ b/xml/en/docs/http/ngx_http_scgi_module.xml
@@ -10,7 +10,7 @@
 <module name="Module ngx_http_scgi_module"
         link="/en/docs/http/ngx_http_scgi_module.html"
         lang="en"
-        rev="8">
+        rev="9">
 
 <section id="summary">
 
@@ -684,8 +684,8 @@ Limits the speed of reading the response
 The <value>rate</value> is specified in bytes per second.
 The zero value disables rate limiting.
 The limit is set per a request, and so if nginx simultaneously opens
-two connections, the overall rate will be twice as much
-as the specified limit.
+two connections to the SCGI server,
+the overall rate will be twice as much as the specified limit.
 The limitation works only if
 <link id="scgi_buffering">buffering</link> of responses from the SCGI
 server is enabled.
--- a/xml/en/docs/http/ngx_http_uwsgi_module.xml
+++ b/xml/en/docs/http/ngx_http_uwsgi_module.xml
@@ -10,7 +10,7 @@
 <module name="Module ngx_http_uwsgi_module"
         link="/en/docs/http/ngx_http_uwsgi_module.html"
         lang="en"
-        rev="9">
+        rev="10">
 
 <section id="summary">
 
@@ -684,8 +684,8 @@ Limits the speed of reading the response
 The <value>rate</value> is specified in bytes per second.
 The zero value disables rate limiting.
 The limit is set per a request, and so if nginx simultaneously opens
-two connections, the overall rate will be twice as much
-as the specified limit.
+two connections to the uwsgi server,
+the overall rate will be twice as much as the specified limit.
 The limitation works only if
 <link id="uwsgi_buffering">buffering</link> of responses from the uwsgi
 server is enabled.
--- 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="20">
+        rev="21">
 
 <section id="summary">
 
@@ -729,29 +729,6 @@ fastcgi_param SCRIPT_FILENAME /home/www/
 </directive>
 
 
-<directive name="fastcgi_limit_rate">
-<syntax><value>скорость</value></syntax>
-<default>0</default>
-<context>http</context>
-<context>server</context>
-<context>location</context>
-<appeared-in>1.7.7</appeared-in>
-
-<para>
-Ограничивает скорость чтения ответа от FastCGI-сервера.
-<value>Скорость</value> задаётся в байтах в секунду.
-Значение 0 отключает ограничение скорости.
-Ограничение устанавливается на запрос,
-поэтому, если nginx одновременно
-откроет два соединения, суммарная скорость будет вдвое выше
-заданного ограничения.
-Ограничение работает только в случае, если включена
-<link id="fastcgi_buffering">буферизация</link> ответов FastCGI-сервера.
-</para>
-
-</directive>
-
-
 <directive name="fastcgi_keep_conn">
 <syntax><literal>on</literal> | <literal>off</literal></syntax>
 <default>off</default>
@@ -773,6 +750,29 @@ FastCGI-серверу оставлять соединения открытыми.
 </directive>
 
 
+<directive name="fastcgi_limit_rate">
+<syntax><value>скорость</value></syntax>
+<default>0</default>
+<context>http</context>
+<context>server</context>
+<context>location</context>
+<appeared-in>1.7.7</appeared-in>
+
+<para>
+Ограничивает скорость чтения ответа от FastCGI-сервера.
+<value>Скорость</value> задаётся в байтах в секунду.
+Значение 0 отключает ограничение скорости.
+Ограничение устанавливается на запрос,
+поэтому, если nginx одновременно
+откроет два соединения к FastCGI-серверу,
+суммарная скорость будет вдвое выше заданного ограничения.
+Ограничение работает только в случае, если включена
+<link id="fastcgi_buffering">буферизация</link> ответов FastCGI-сервера.
+</para>
+
+</directive>
+
+
 <directive name="fastcgi_max_temp_file_size">
 <syntax><value>размер</value></syntax>
 <default>1024m</default>
--- a/xml/ru/docs/http/ngx_http_proxy_module.xml
+++ b/xml/ru/docs/http/ngx_http_proxy_module.xml
@@ -10,7 +10,7 @@
 <module name="Модуль ngx_http_proxy_module"
         link="/ru/docs/http/ngx_http_proxy_module.html"
         lang="ru"
-        rev="27">
+        rev="28">
 
 <section id="summary">
 
@@ -884,8 +884,8 @@ nginx не передаёт клиенту поля заголовка <header>Date</header>,
 Значение 0 отключает ограничение скорости.
 Ограничение устанавливается на запрос,
 поэтому, если nginx одновременно
-откроет два соединения, суммарная скорость будет вдвое выше
-заданного ограничения.
+откроет два соединения к проксируемому серверу,
+суммарная скорость будет вдвое выше заданного ограничения.
 Ограничение работает только в случае, если включена
 <link id="proxy_buffering">буферизация</link> ответов проксируемого сервера.
 </para>
--- a/xml/ru/docs/http/ngx_http_scgi_module.xml
+++ b/xml/ru/docs/http/ngx_http_scgi_module.xml
@@ -10,7 +10,7 @@
 <module name="Модуль ngx_http_scgi_module"
         link="/ru/docs/http/ngx_http_scgi_module.html"
         lang="ru"
-        rev="8">
+        rev="9">
 
 <section id="summary">
 
@@ -682,8 +682,8 @@ nginx не передаёт клиенту поля заголовка <header>Status</header> и
 Значение 0 отключает ограничение скорости.
 Ограничение устанавливается на запрос,
 поэтому, если nginx одновременно
-откроет два соединения, суммарная скорость будет вдвое выше
-заданного ограничения.
+откроет два соединения к SCGI-серверу,
+суммарная скорость будет вдвое выше заданного ограничения.
 Ограничение работает только в случае, если включена
 <link id="scgi_buffering">буферизация</link> ответов SCGI-сервера.
 </para>
--- a/xml/ru/docs/http/ngx_http_uwsgi_module.xml
+++ b/xml/ru/docs/http/ngx_http_uwsgi_module.xml
@@ -10,7 +10,7 @@
 <module name="Модуль ngx_http_uwsgi_module"
         link="/ru/docs/http/ngx_http_uwsgi_module.html"
         lang="ru"
-        rev="9">
+        rev="10">
 
 <section id="summary">
 
@@ -682,8 +682,8 @@ nginx не передаёт клиенту поля заголовка <header>Status</header> и
 Значение 0 отключает ограничение скорости.
 Ограничение устанавливается на запрос,
 поэтому, если nginx одновременно
-откроет два соединения, суммарная скорость будет вдвое выше
-заданного ограничения.
+откроет два соединения к uwsgi-серверу,
+суммарная скорость будет вдвое выше заданного ограничения.
 Ограничение работает только в случае, если включена
 <link id="uwsgi_buffering">буферизация</link> ответов uwsgi-сервера.
 </para>