# HG changeset patch # User Ruslan Ermilov # Date 1414513583 -10800 # Node ID 1bdde28e359bf6481b836d992b4f88f1e83e316b # Parent 758fc0b0265189a24516d54c685afd2d090535a9 Fixed fallouts from the previous change. - Put the fastcgi_limit_rate in the correct order. - Make it clear which connections are meant. diff -r 758fc0b02651 -r 1bdde28e359b xml/en/docs/http/ngx_http_fastcgi_module.xml --- a/xml/en/docs/http/ngx_http_fastcgi_module.xml Mon Oct 06 14:49:16 2014 +0400 +++ b/xml/en/docs/http/ngx_http_fastcgi_module.xml Tue Oct 28 19:26:23 2014 +0300 @@ -10,7 +10,7 @@ + rev="21">
@@ -731,29 +731,6 @@ - -rate -0 -http -server -location -1.7.7 - - -Limits the speed of reading the response from the FastCGI server. -The rate 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 -buffering of responses from the FastCGI -server is enabled. - - - - - on | off off @@ -775,6 +752,29 @@ + +rate +0 +http +server +location +1.7.7 + + +Limits the speed of reading the response from the FastCGI server. +The rate 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 +buffering of responses from the FastCGI +server is enabled. + + + + + size 1024m diff -r 758fc0b02651 -r 1bdde28e359b xml/en/docs/http/ngx_http_proxy_module.xml --- a/xml/en/docs/http/ngx_http_proxy_module.xml Mon Oct 06 14:49:16 2014 +0400 +++ b/xml/en/docs/http/ngx_http_proxy_module.xml Tue Oct 28 19:26:23 2014 +0300 @@ -10,7 +10,7 @@ + rev="28">
@@ -886,8 +886,8 @@ The rate 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 buffering of responses from the proxied server is enabled. diff -r 758fc0b02651 -r 1bdde28e359b xml/en/docs/http/ngx_http_scgi_module.xml --- a/xml/en/docs/http/ngx_http_scgi_module.xml Mon Oct 06 14:49:16 2014 +0400 +++ b/xml/en/docs/http/ngx_http_scgi_module.xml Tue Oct 28 19:26:23 2014 +0300 @@ -10,7 +10,7 @@ + rev="9">
@@ -684,8 +684,8 @@ The rate 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 buffering of responses from the SCGI server is enabled. diff -r 758fc0b02651 -r 1bdde28e359b xml/en/docs/http/ngx_http_uwsgi_module.xml --- a/xml/en/docs/http/ngx_http_uwsgi_module.xml Mon Oct 06 14:49:16 2014 +0400 +++ b/xml/en/docs/http/ngx_http_uwsgi_module.xml Tue Oct 28 19:26:23 2014 +0300 @@ -10,7 +10,7 @@ + rev="10">
@@ -684,8 +684,8 @@ The rate 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 buffering of responses from the uwsgi server is enabled. diff -r 758fc0b02651 -r 1bdde28e359b xml/ru/docs/http/ngx_http_fastcgi_module.xml --- a/xml/ru/docs/http/ngx_http_fastcgi_module.xml Mon Oct 06 14:49:16 2014 +0400 +++ b/xml/ru/docs/http/ngx_http_fastcgi_module.xml Tue Oct 28 19:26:23 2014 +0300 @@ -10,7 +10,7 @@ + rev="21">
@@ -729,29 +729,6 @@ - -скорость -0 -http -server -location -1.7.7 - - -Ограничивает скорость чтения ответа от FastCGI-сервера. -Скорость задаётся в байтах в секунду. -Значение 0 отключает ограничение скорости. -Ограничение устанавливается на запрос, -поэтому, если nginx одновременно -откроет два соединения, суммарная скорость будет вдвое выше -заданного ограничения. -Ограничение работает только в случае, если включена -буферизация ответов FastCGI-сервера. - - - - - on | off off @@ -773,6 +750,29 @@ + +скорость +0 +http +server +location +1.7.7 + + +Ограничивает скорость чтения ответа от FastCGI-сервера. +Скорость задаётся в байтах в секунду. +Значение 0 отключает ограничение скорости. +Ограничение устанавливается на запрос, +поэтому, если nginx одновременно +откроет два соединения к FastCGI-серверу, +суммарная скорость будет вдвое выше заданного ограничения. +Ограничение работает только в случае, если включена +буферизация ответов FastCGI-сервера. + + + + + размер 1024m diff -r 758fc0b02651 -r 1bdde28e359b xml/ru/docs/http/ngx_http_proxy_module.xml --- a/xml/ru/docs/http/ngx_http_proxy_module.xml Mon Oct 06 14:49:16 2014 +0400 +++ b/xml/ru/docs/http/ngx_http_proxy_module.xml Tue Oct 28 19:26:23 2014 +0300 @@ -10,7 +10,7 @@ + rev="28">
@@ -884,8 +884,8 @@ Значение 0 отключает ограничение скорости. Ограничение устанавливается на запрос, поэтому, если nginx одновременно -откроет два соединения, суммарная скорость будет вдвое выше -заданного ограничения. +откроет два соединения к проксируемому серверу, +суммарная скорость будет вдвое выше заданного ограничения. Ограничение работает только в случае, если включена буферизация ответов проксируемого сервера. diff -r 758fc0b02651 -r 1bdde28e359b xml/ru/docs/http/ngx_http_scgi_module.xml --- a/xml/ru/docs/http/ngx_http_scgi_module.xml Mon Oct 06 14:49:16 2014 +0400 +++ b/xml/ru/docs/http/ngx_http_scgi_module.xml Tue Oct 28 19:26:23 2014 +0300 @@ -10,7 +10,7 @@ + rev="9">
@@ -682,8 +682,8 @@ Значение 0 отключает ограничение скорости. Ограничение устанавливается на запрос, поэтому, если nginx одновременно -откроет два соединения, суммарная скорость будет вдвое выше -заданного ограничения. +откроет два соединения к SCGI-серверу, +суммарная скорость будет вдвое выше заданного ограничения. Ограничение работает только в случае, если включена буферизация ответов SCGI-сервера. diff -r 758fc0b02651 -r 1bdde28e359b xml/ru/docs/http/ngx_http_uwsgi_module.xml --- a/xml/ru/docs/http/ngx_http_uwsgi_module.xml Mon Oct 06 14:49:16 2014 +0400 +++ b/xml/ru/docs/http/ngx_http_uwsgi_module.xml Tue Oct 28 19:26:23 2014 +0300 @@ -10,7 +10,7 @@ + rev="10">
@@ -682,8 +682,8 @@ Значение 0 отключает ограничение скорости. Ограничение устанавливается на запрос, поэтому, если nginx одновременно -откроет два соединения, суммарная скорость будет вдвое выше -заданного ограничения. +откроет два соединения к uwsgi-серверу, +суммарная скорость будет вдвое выше заданного ограничения. Ограничение работает только в случае, если включена буферизация ответов uwsgi-сервера.