comparison xml/ru/docs/http/ngx_http_limit_req_module.xml @ 102:c76a257f3fd4

The directive name is now automatically printed in <default> and <syntax>. Specifying <default> is made non-optional. Visible changes: - "types" and "proxy_set_header" get proper defaults (not yet displayed nicely); - "fastcgi_hide_header", "fastcgi_ignore_headers", "fastcgi_pass_header", "proxy_hide_header", "proxy_ignore_headers", and "proxy_pass_header" now have their (empty) defaults documented; - mentions of "fastcgi_redirect_errors" and "proxy_redirect_errors" which are long unsupported were removed.
author Ruslan Ermilov <ru@nginx.com>
date Wed, 19 Oct 2011 05:15:24 +0000
parents 1d315ef37215
children 40eec261c2a6
comparison
equal deleted inserted replaced
101:b8fd014ec712 102:c76a257f3fd4
39 39
40 40
41 <section name="Директивы" id="directives"> 41 <section name="Директивы" id="directives">
42 42
43 <directive name="limit_req_zone"> 43 <directive name="limit_req_zone">
44 <syntax>limit_req_zone <value>$переменная zone=название:размер 44 <syntax><value>$переменная zone=название:размер
45 rate=скорость</value></syntax> 45 rate=скорость</value></syntax>
46 <default/> 46 <default/>
47 <context>http</context> 47 <context>http</context>
48 48
49 <para> 49 <para>
77 </para> 77 </para>
78 78
79 </directive> 79 </directive>
80 80
81 <directive name="limit_req"> 81 <directive name="limit_req">
82 <syntax>limit_req <value>zone=название burst=число [nodelay]</value> 82 <syntax><value>zone=название burst=число [nodelay]</value>
83 </syntax> 83 </syntax>
84 <default/> 84 <default/>
85 <context>http, server, location</context> 85 <context>http, server, location</context>
86 86
87 <para> 87 <para>
117 117
118 </directive> 118 </directive>
119 119
120 120
121 <directive name="limit_req_log_level"> 121 <directive name="limit_req_log_level">
122 <syntax>limit_req_log_level <value>[info|notice|warn|error]</value></syntax> 122 <syntax><value>[info|notice|warn|error]</value></syntax>
123 <default>limit_req_log_level error</default> 123 <default>error</default>
124 <context>http, server, location</context> 124 <context>http, server, location</context>
125 125
126 <para> 126 <para>
127 Директива (0.8.18) задаёт уровень логирования случаев ограничения 127 Директива (0.8.18) задаёт уровень логирования случаев ограничения
128 числа запросов и задержек при обработке запроса. 128 числа запросов и задержек при обработке запроса.