Mercurial > hg > nginx-site
comparison xml/ru/docs/http/ngx_http_limit_req_module.xml @ 870:6087d3fa6919
The limit_req_status and limit_conn_status directives.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Wed, 20 Mar 2013 21:47:21 +0400 |
parents | c711c50bdcf4 |
children | f15a983cac66 |
comparison
equal
deleted
inserted
replaced
869:ade81792bdaa | 870:6087d3fa6919 |
---|---|
8 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd"> | 8 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd"> |
9 | 9 |
10 <module name="Модуль ngx_http_limit_req_module" | 10 <module name="Модуль ngx_http_limit_req_module" |
11 link="/ru/docs/http/ngx_http_limit_req_module.html" | 11 link="/ru/docs/http/ngx_http_limit_req_module.html" |
12 lang="ru" | 12 lang="ru" |
13 rev="2"> | 13 rev="3"> |
14 | 14 |
15 <section id="summary"> | 15 <section id="summary"> |
16 | 16 |
17 <para> | 17 <para> |
18 Модуль <literal>ngx_http_limit_req_module</literal> (0.7.21) позволяет | 18 Модуль <literal>ngx_http_limit_req_module</literal> (0.7.21) позволяет |
116 </para> | 116 </para> |
117 | 117 |
118 </directive> | 118 </directive> |
119 | 119 |
120 | 120 |
121 <directive name="limit_req_status"> | |
122 <syntax><value>код</value></syntax> | |
123 <default>503</default> | |
124 <context>http</context> | |
125 <context>server</context> | |
126 <context>location</context> | |
127 <appeared-in>1.3.15</appeared-in> | |
128 | |
129 <para> | |
130 Позволяет переопределить код ответа, используемый при отклонении запросов. | |
131 </para> | |
132 | |
133 </directive> | |
134 | |
135 | |
121 <directive name="limit_req_zone"> | 136 <directive name="limit_req_zone"> |
122 <syntax> | 137 <syntax> |
123 <value>$переменная</value> | 138 <value>$переменная</value> |
124 <literal>zone</literal>=<value>название</value>:<value>размер</value> | 139 <literal>zone</literal>=<value>название</value>:<value>размер</value> |
125 <literal>rate</literal>=<value>скорость</value></syntax> | 140 <literal>rate</literal>=<value>скорость</value></syntax> |