Mercurial > hg > nginx-site
comparison xml/en/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="Module ngx_http_uwsgi_module" | 10 <module name="Module ngx_http_uwsgi_module" |
11 link="/en/docs/http/ngx_http_uwsgi_module.html" | 11 link="/en/docs/http/ngx_http_uwsgi_module.html" |
12 lang="en" | 12 lang="en" |
13 rev="36"> | 13 rev="37"> |
14 | 14 |
15 <section id="summary"> | 15 <section id="summary"> |
16 | 16 |
17 <para> | 17 <para> |
18 The <literal>ngx_http_uwsgi_module</literal> module allows passing | 18 The <literal>ngx_http_uwsgi_module</literal> module allows passing |
602 <literal>updating</literal> | | 602 <literal>updating</literal> | |
603 <literal>http_500</literal> | | 603 <literal>http_500</literal> | |
604 <literal>http_503</literal> | | 604 <literal>http_503</literal> | |
605 <literal>http_403</literal> | | 605 <literal>http_403</literal> | |
606 <literal>http_404</literal> | | 606 <literal>http_404</literal> | |
607 <literal>http_429</literal> | | |
607 <literal>off</literal> | 608 <literal>off</literal> |
608 ...</syntax> | 609 ...</syntax> |
609 <default>off</default> | 610 <default>off</default> |
610 <context>http</context> | 611 <context>http</context> |
611 <context>server</context> | 612 <context>server</context> |
979 <literal>invalid_header</literal> | | 980 <literal>invalid_header</literal> | |
980 <literal>http_500</literal> | | 981 <literal>http_500</literal> | |
981 <literal>http_503</literal> | | 982 <literal>http_503</literal> | |
982 <literal>http_403</literal> | | 983 <literal>http_403</literal> | |
983 <literal>http_404</literal> | | 984 <literal>http_404</literal> | |
985 <literal>http_429</literal> | | |
984 <literal>non_idempotent</literal> | | 986 <literal>non_idempotent</literal> | |
985 <literal>off</literal> | 987 <literal>off</literal> |
986 ...</syntax> | 988 ...</syntax> |
987 <default>error timeout</default> | 989 <default>error timeout</default> |
988 <context>http</context> | 990 <context>http</context> |
1013 <tag-name><literal>http_403</literal></tag-name> | 1015 <tag-name><literal>http_403</literal></tag-name> |
1014 <tag-desc>a server returned a response with the code 403;</tag-desc> | 1016 <tag-desc>a server returned a response with the code 403;</tag-desc> |
1015 | 1017 |
1016 <tag-name><literal>http_404</literal></tag-name> | 1018 <tag-name><literal>http_404</literal></tag-name> |
1017 <tag-desc>a server returned a response with the code 404;</tag-desc> | 1019 <tag-desc>a server returned a response with the code 404;</tag-desc> |
1020 | |
1021 <tag-name><literal>http_429</literal></tag-name> | |
1022 <tag-desc>a server returned a response with the code 429 (1.11.13);</tag-desc> | |
1018 | 1023 |
1019 <tag-name id="non_idempotent"><literal>non_idempotent</literal></tag-name> | 1024 <tag-name id="non_idempotent"><literal>non_idempotent</literal></tag-name> |
1020 <tag-desc>normally, requests with a | 1025 <tag-desc>normally, requests with a |
1021 <link url="https://tools.ietf.org/html/rfc7231#section-4.2.2">non-idempotent</link> | 1026 <link url="https://tools.ietf.org/html/rfc7231#section-4.2.2">non-idempotent</link> |
1022 method | 1027 method |
1044 <link doc="ngx_http_upstream_module.xml" id="max_fails">unsuccessful | 1049 <link doc="ngx_http_upstream_module.xml" id="max_fails">unsuccessful |
1045 attempt</link> of communication with a server. | 1050 attempt</link> of communication with a server. |
1046 The cases of <literal>error</literal>, <literal>timeout</literal> and | 1051 The cases of <literal>error</literal>, <literal>timeout</literal> and |
1047 <literal>invalid_header</literal> are always considered unsuccessful attempts, | 1052 <literal>invalid_header</literal> are always considered unsuccessful attempts, |
1048 even if they are not specified in the directive. | 1053 even if they are not specified in the directive. |
1049 The cases of <literal>http_500</literal> and <literal>http_503</literal> are | 1054 The cases of <literal>http_500</literal>, <literal>http_503</literal>, |
1055 and <literal>http_429</literal> are | |
1050 considered unsuccessful attempts only if they are specified in the directive. | 1056 considered unsuccessful attempts only if they are specified in the directive. |
1051 The cases of <literal>http_403</literal> and <literal>http_404</literal> | 1057 The cases of <literal>http_403</literal> and <literal>http_404</literal> |
1052 are never considered unsuccessful attempts. | 1058 are never considered unsuccessful attempts. |
1053 </para> | 1059 </para> |
1054 | 1060 |