diff 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
line wrap: on
line diff
--- a/xml/en/docs/http/ngx_http_proxy_module.xml	Tue Mar 29 18:25:04 2016 +0300
+++ b/xml/en/docs/http/ngx_http_proxy_module.xml	Tue Mar 29 18:21:11 2016 +0300
@@ -10,7 +10,7 @@
 <module name="Module ngx_http_proxy_module"
         link="/en/docs/http/ngx_http_proxy_module.html"
         lang="en"
-        rev="44">
+        rev="45">
 
 <section id="summary">
 
@@ -1093,6 +1093,7 @@
     <literal>http_504</literal> |
     <literal>http_403</literal> |
     <literal>http_404</literal> |
+    <literal>non_idempotent</literal> |
     <literal>off</literal>
     ...</syntax>
 <default>error timeout</default>
@@ -1133,6 +1134,16 @@
 <tag-name><literal>http_404</literal></tag-name>
 <tag-desc>a server returned a response with the code 404;</tag-desc>
 
+<tag-name id="non_idempotent"><literal>non_idempotent</literal></tag-name>
+<tag-desc>normally, requests with a
+<link url="http://tools.ietf.org/html/rfc7231#section-4.2.2">non-idempotent</link>
+method
+(<literal>POST</literal>, <literal>LOCK</literal>, <literal>PATCH</literal>)
+are not passed to the next server
+if a request has been sent to an upstream server (1.9.13);
+enabling this option explicitly allows retrying such requests;
+</tag-desc>
+
 <tag-name><literal>off</literal></tag-name>
 <tag-desc>disables passing a request to the next server.</tag-desc>