comparison xml/ru/docs/http/ngx_http_uwsgi_module.xml @ 1956:dd96a09dd4f7

Documented support for "429 Too Many Requests" response.
author Yaroslav Zhuravlev <yar@nginx.com>
date Tue, 04 Apr 2017 17:43:25 +0300
parents 66a30a380fba
children 3460bd328287
comparison
equal deleted inserted replaced
1955:182bbf9034c4 1956:dd96a09dd4f7
8 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd"> 8 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd">
9 9
10 <module name="Модуль ngx_http_uwsgi_module" 10 <module name="Модуль ngx_http_uwsgi_module"
11 link="/ru/docs/http/ngx_http_uwsgi_module.html" 11 link="/ru/docs/http/ngx_http_uwsgi_module.html"
12 lang="ru" 12 lang="ru"
13 rev="36"> 13 rev="37">
14 14
15 <section id="summary"> 15 <section id="summary">
16 16
17 <para> 17 <para>
18 Модуль <literal>ngx_http_uwsgi_module</literal> позволяет передавать 18 Модуль <literal>ngx_http_uwsgi_module</literal> позволяет передавать
600 <literal>updating</literal> | 600 <literal>updating</literal> |
601 <literal>http_500</literal> | 601 <literal>http_500</literal> |
602 <literal>http_503</literal> | 602 <literal>http_503</literal> |
603 <literal>http_403</literal> | 603 <literal>http_403</literal> |
604 <literal>http_404</literal> | 604 <literal>http_404</literal> |
605 <literal>http_429</literal> |
605 <literal>off</literal> 606 <literal>off</literal>
606 ...</syntax> 607 ...</syntax>
607 <default>off</default> 608 <default>off</default>
608 <context>http</context> 609 <context>http</context>
609 <context>server</context> 610 <context>server</context>
975 <literal>invalid_header</literal> | 976 <literal>invalid_header</literal> |
976 <literal>http_500</literal> | 977 <literal>http_500</literal> |
977 <literal>http_503</literal> | 978 <literal>http_503</literal> |
978 <literal>http_403</literal> | 979 <literal>http_403</literal> |
979 <literal>http_404</literal> | 980 <literal>http_404</literal> |
981 <literal>http_429</literal> |
980 <literal>non_idempotent</literal> | 982 <literal>non_idempotent</literal> |
981 <literal>off</literal> 983 <literal>off</literal>
982 ...</syntax> 984 ...</syntax>
983 <default>error timeout</default> 985 <default>error timeout</default>
984 <context>http</context> 986 <context>http</context>
1009 <tag-name><literal>http_403</literal></tag-name> 1011 <tag-name><literal>http_403</literal></tag-name>
1010 <tag-desc>сервер вернул ответ с кодом 403;</tag-desc> 1012 <tag-desc>сервер вернул ответ с кодом 403;</tag-desc>
1011 1013
1012 <tag-name><literal>http_404</literal></tag-name> 1014 <tag-name><literal>http_404</literal></tag-name>
1013 <tag-desc>сервер вернул ответ с кодом 404;</tag-desc> 1015 <tag-desc>сервер вернул ответ с кодом 404;</tag-desc>
1016
1017 <tag-name><literal>http_429</literal></tag-name>
1018 <tag-desc>сервер вернул ответ с кодом 429 (1.11.13);</tag-desc>
1014 1019
1015 <tag-name id="non_idempotent"><literal>non_idempotent</literal></tag-name> 1020 <tag-name id="non_idempotent"><literal>non_idempotent</literal></tag-name>
1016 <tag-desc>обычно запросы с 1021 <tag-desc>обычно запросы с
1017 <link url="https://tools.ietf.org/html/rfc7231#section-4.2.2">неидемпотентным</link> 1022 <link url="https://tools.ietf.org/html/rfc7231#section-4.2.2">неидемпотентным</link>
1018 методом 1023 методом
1040 <link doc="ngx_http_upstream_module.xml" id="max_fails">неудачной 1045 <link doc="ngx_http_upstream_module.xml" id="max_fails">неудачной
1041 попыткой</link> работы с сервером. 1046 попыткой</link> работы с сервером.
1042 Случаи <literal>error</literal>, <literal>timeout</literal> и 1047 Случаи <literal>error</literal>, <literal>timeout</literal> и
1043 <literal>invalid_header</literal> 1048 <literal>invalid_header</literal>
1044 всегда считаются неудачными попытками, даже если они не указаны в директиве. 1049 всегда считаются неудачными попытками, даже если они не указаны в директиве.
1045 Случаи <literal>http_500</literal> и <literal>http_503</literal> 1050 Случаи <literal>http_500</literal>, <literal>http_503</literal>
1051 и <literal>http_429</literal>
1046 считаются неудачными попытками, только если они указаны в директиве. 1052 считаются неудачными попытками, только если они указаны в директиве.
1047 Случаи <literal>http_403</literal> и <literal>http_404</literal> 1053 Случаи <literal>http_403</literal> и <literal>http_404</literal>
1048 никогда не считаются неудачными попытками. 1054 никогда не считаются неудачными попытками.
1049 </para> 1055 </para>
1050 1056