Nginx and conditional proxy_next_upstream directive

dontknowwhoiam nginx-forum at forum.nginx.org
Tue Feb 23 15:09:11 UTC 2016


Is this question to stupid or has nobody an answer on it? ;)

I just think a POSTs are not idempotent and should never be repeated for a
technical reason. Is there any change to configure nginx in a way to try the
next upstream only if the first one really failed when using POST requests?
Timed out requests on one upstream could potentially still be processed by
an application. Handing this request over to the next upstream must not
cause the same result as the first upstream since POSTs are not idempotent.

Any help would be appreciated.

Posted at Nginx Forum: https://forum.nginx.org/read.php?2,264486,264734#msg-264734



More information about the nginx mailing list