upstream 429 and non-idempotent request

Frank Liu gfrankliu at
Thu Jun 8 08:10:25 UTC 2017

In case of upstream returning 429, I'd like to have nginx retry next
upstream server. Since nginx by default won't retry non-idempotent
requests, how do I force nginx to retry when receiving 429? I imagine this
should be the default behavior anyway, or does nginx not care about
returning code and will never retry non-idempotent?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the nginx mailing list