# HG changeset patch # User Yaroslav Zhuravlev # Date 1412592556 -14400 # Node ID 758fc0b0265189a24516d54c685afd2d090535a9 # Parent a4b94d724879355b111db3fe74b8cc90fd89ac0b Documented the "proxy_limit_rate" directive and friends. diff --git a/xml/en/docs/http/ngx_http_fastcgi_module.xml b/xml/en/docs/http/ngx_http_fastcgi_module.xml --- a/xml/en/docs/http/ngx_http_fastcgi_module.xml +++ b/xml/en/docs/http/ngx_http_fastcgi_module.xml @@ -10,7 +10,7 @@ + rev="20">
@@ -731,6 +731,29 @@ with the +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 diff --git a/xml/en/docs/http/ngx_http_proxy_module.xml b/xml/en/docs/http/ngx_http_proxy_module.xml --- a/xml/en/docs/http/ngx_http_proxy_module.xml +++ b/xml/en/docs/http/ngx_http_proxy_module.xml @@ -10,7 +10,7 @@ + rev="27">
@@ -873,6 +873,29 @@ with the +rate +0 +http +server +location +1.7.7 + + +Limits the speed of reading the response from the proxied 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 proxied +server is enabled. + + + + + size 1024m diff --git a/xml/en/docs/http/ngx_http_scgi_module.xml b/xml/en/docs/http/ngx_http_scgi_module.xml --- a/xml/en/docs/http/ngx_http_scgi_module.xml +++ b/xml/en/docs/http/ngx_http_scgi_module.xml @@ -10,7 +10,7 @@ + rev="8">
@@ -671,6 +671,29 @@ with the +rate +0 +http +server +location +1.7.7 + + +Limits the speed of reading the response from the SCGI 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 SCGI +server is enabled. + + + + + size 1024m diff --git a/xml/en/docs/http/ngx_http_uwsgi_module.xml b/xml/en/docs/http/ngx_http_uwsgi_module.xml --- a/xml/en/docs/http/ngx_http_uwsgi_module.xml +++ b/xml/en/docs/http/ngx_http_uwsgi_module.xml @@ -10,7 +10,7 @@ + rev="9">
@@ -671,6 +671,30 @@ with the +rate +0 +http +server +location +1.7.7 + + +Limits the speed of reading the response from the uwsgi 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 uwsgi +server is enabled. + + + + + + size 1024m diff --git a/xml/ru/docs/http/ngx_http_fastcgi_module.xml b/xml/ru/docs/http/ngx_http_fastcgi_module.xml --- a/xml/ru/docs/http/ngx_http_fastcgi_module.xml +++ b/xml/ru/docs/http/ngx_http_fastcgi_module.xml @@ -10,7 +10,7 @@ + rev="20">
@@ -729,6 +729,29 @@ fastcgi_param SCRIPT_FILENAME /home/www/ + +скорость +0 +http +server +location +1.7.7 + + +Ограничивает скорость чтения ответа от FastCGI-сервера. +Скорость задаётся в байтах в секунду. +Значение 0 отключает ограничение скорости. +Ограничение устанавливается на запрос, +поэтому, если nginx одновременно +откроет два соединения, суммарная скорость будет вдвое выше +заданного ограничения. +Ограничение работает только в случае, если включена +буферизация ответов FastCGI-сервера. + + + + + on | off off diff --git a/xml/ru/docs/http/ngx_http_proxy_module.xml b/xml/ru/docs/http/ngx_http_proxy_module.xml --- a/xml/ru/docs/http/ngx_http_proxy_module.xml +++ b/xml/ru/docs/http/ngx_http_proxy_module.xml @@ -10,7 +10,7 @@ + rev="27">
@@ -870,6 +870,29 @@ nginx не передаёт клиенту поля заголовка
Date
, + +скорость +0 +http +server +location +1.7.7 + + +Ограничивает скорость чтения ответа от проксируемого сервера. +Скорость задаётся в байтах в секунду. +Значение 0 отключает ограничение скорости. +Ограничение устанавливается на запрос, +поэтому, если nginx одновременно +откроет два соединения, суммарная скорость будет вдвое выше +заданного ограничения. +Ограничение работает только в случае, если включена +буферизация ответов проксируемого сервера. + + + + + размер 1024m diff --git a/xml/ru/docs/http/ngx_http_scgi_module.xml b/xml/ru/docs/http/ngx_http_scgi_module.xml --- a/xml/ru/docs/http/ngx_http_scgi_module.xml +++ b/xml/ru/docs/http/ngx_http_scgi_module.xml @@ -10,7 +10,7 @@ + rev="8">
@@ -668,6 +668,29 @@ nginx не передаёт клиенту поля заголовка
Status
и + +скорость +0 +http +server +location +1.7.7 + + +Ограничивает скорость чтения ответа от SCGI-сервера. +Скорость задаётся в байтах в секунду. +Значение 0 отключает ограничение скорости. +Ограничение устанавливается на запрос, +поэтому, если nginx одновременно +откроет два соединения, суммарная скорость будет вдвое выше +заданного ограничения. +Ограничение работает только в случае, если включена +буферизация ответов SCGI-сервера. + + + + + размер 1024m diff --git a/xml/ru/docs/http/ngx_http_uwsgi_module.xml b/xml/ru/docs/http/ngx_http_uwsgi_module.xml --- a/xml/ru/docs/http/ngx_http_uwsgi_module.xml +++ b/xml/ru/docs/http/ngx_http_uwsgi_module.xml @@ -10,7 +10,7 @@ + rev="9">
@@ -668,6 +668,29 @@ nginx не передаёт клиенту поля заголовка
Status
и + +скорость +0 +http +server +location +1.7.7 + + +Ограничивает скорость чтения ответа от uwsgi-сервера. +Скорость задаётся в байтах в секунду. +Значение 0 отключает ограничение скорости. +Ограничение устанавливается на запрос, +поэтому, если nginx одновременно +откроет два соединения, суммарная скорость будет вдвое выше +заданного ограничения. +Ограничение работает только в случае, если включена +буферизация ответов uwsgi-сервера. + + + + + размер 1024m