comparison xml/en/docs/http/ngx_http_uwsgi_module.xml @ 1669:c872b93682f4

Added "non_idempotent" for proxy_next_upstream and friends.
author Yaroslav Zhuravlev <yar@nginx.com>
date Tue, 29 Mar 2016 18:21:11 +0300
parents 680cbf783efe
children 9c98c4498f08
comparison
equal deleted inserted replaced
1668:755c3c0324b1 1669:c872b93682f4
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="23"> 13 rev="24">
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
884 <literal>invalid_header</literal> | 884 <literal>invalid_header</literal> |
885 <literal>http_500</literal> | 885 <literal>http_500</literal> |
886 <literal>http_503</literal> | 886 <literal>http_503</literal> |
887 <literal>http_403</literal> | 887 <literal>http_403</literal> |
888 <literal>http_404</literal> | 888 <literal>http_404</literal> |
889 <literal>non_idempotent</literal> |
889 <literal>off</literal> 890 <literal>off</literal>
890 ...</syntax> 891 ...</syntax>
891 <default>error timeout</default> 892 <default>error timeout</default>
892 <context>http</context> 893 <context>http</context>
893 <context>server</context> 894 <context>server</context>
917 <tag-name><literal>http_403</literal></tag-name> 918 <tag-name><literal>http_403</literal></tag-name>
918 <tag-desc>a server returned a response with the code 403;</tag-desc> 919 <tag-desc>a server returned a response with the code 403;</tag-desc>
919 920
920 <tag-name><literal>http_404</literal></tag-name> 921 <tag-name><literal>http_404</literal></tag-name>
921 <tag-desc>a server returned a response with the code 404;</tag-desc> 922 <tag-desc>a server returned a response with the code 404;</tag-desc>
923
924 <tag-name id="non_idempotent"><literal>non_idempotent</literal></tag-name>
925 <tag-desc>normally, requests with a
926 <link url="http://tools.ietf.org/html/rfc7231#section-4.2.2">non-idempotent</link>
927 method
928 (<literal>POST</literal>, <literal>LOCK</literal>, <literal>PATCH</literal>)
929 are not passed to the next server
930 if a request has been sent to an upstream server (1.9.13);
931 enabling this option explicitly allows retrying such requests;
932 </tag-desc>
922 933
923 <tag-name><literal>off</literal></tag-name> 934 <tag-name><literal>off</literal></tag-name>
924 <tag-desc>disables passing a request to the next server.</tag-desc> 935 <tag-desc>disables passing a request to the next server.</tag-desc>
925 936
926 </list> 937 </list>