comparison xml/en/docs/http/ngx_http_proxy_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_proxy_module" 10 <module name="Module ngx_http_proxy_module"
11 link="/en/docs/http/ngx_http_proxy_module.html" 11 link="/en/docs/http/ngx_http_proxy_module.html"
12 lang="en" 12 lang="en"
13 rev="44"> 13 rev="45">
14 14
15 <section id="summary"> 15 <section id="summary">
16 16
17 <para> 17 <para>
18 The <literal>ngx_http_proxy_module</literal> module allows passing 18 The <literal>ngx_http_proxy_module</literal> module allows passing
1091 <literal>http_502</literal> | 1091 <literal>http_502</literal> |
1092 <literal>http_503</literal> | 1092 <literal>http_503</literal> |
1093 <literal>http_504</literal> | 1093 <literal>http_504</literal> |
1094 <literal>http_403</literal> | 1094 <literal>http_403</literal> |
1095 <literal>http_404</literal> | 1095 <literal>http_404</literal> |
1096 <literal>non_idempotent</literal> |
1096 <literal>off</literal> 1097 <literal>off</literal>
1097 ...</syntax> 1098 ...</syntax>
1098 <default>error timeout</default> 1099 <default>error timeout</default>
1099 <context>http</context> 1100 <context>http</context>
1100 <context>server</context> 1101 <context>server</context>
1130 <tag-name><literal>http_403</literal></tag-name> 1131 <tag-name><literal>http_403</literal></tag-name>
1131 <tag-desc>a server returned a response with the code 403;</tag-desc> 1132 <tag-desc>a server returned a response with the code 403;</tag-desc>
1132 1133
1133 <tag-name><literal>http_404</literal></tag-name> 1134 <tag-name><literal>http_404</literal></tag-name>
1134 <tag-desc>a server returned a response with the code 404;</tag-desc> 1135 <tag-desc>a server returned a response with the code 404;</tag-desc>
1136
1137 <tag-name id="non_idempotent"><literal>non_idempotent</literal></tag-name>
1138 <tag-desc>normally, requests with a
1139 <link url="http://tools.ietf.org/html/rfc7231#section-4.2.2">non-idempotent</link>
1140 method
1141 (<literal>POST</literal>, <literal>LOCK</literal>, <literal>PATCH</literal>)
1142 are not passed to the next server
1143 if a request has been sent to an upstream server (1.9.13);
1144 enabling this option explicitly allows retrying such requests;
1145 </tag-desc>
1135 1146
1136 <tag-name><literal>off</literal></tag-name> 1147 <tag-name><literal>off</literal></tag-name>
1137 <tag-desc>disables passing a request to the next server.</tag-desc> 1148 <tag-desc>disables passing a request to the next server.</tag-desc>
1138 1149
1139 </list> 1150 </list>