proxy_next_upstream exemption for 429 "too many requests"
piotrsikora at google.com
Thu Oct 20 00:37:16 UTC 2016
> "proxy_next_upstream error" has exemptions for 402 and 403. Should it not
> have exemptions for 429 "Too many requests" as well?
> I want proxied servers' 503 and 429 responses with "Retry-After" to be
> delivered to the client as the server responded. The 429s in this case
> contain json bodies.
Actually, after re-reading your email, I'm confused... 429 responses
aren't matched by "proxy_next_upstream error" (with or without my
patches), and are passed as-is to the client.
Maybe you're using "proxy_intercept_errors" with custom error pages?
More information about the nginx