Re: Tweak proxy_next_upstream based on HTTP method

2013-07-05 Thread Branden Visser
No it doesn't look like limit_except will allow me to change behaviour of proxy timeouts or next_upstream based on the HTTP method. Are there any recommendations on how this could be done aside from my workaround? On Fri, Jul 5, 2013 at 9:27 AM, Branden Visser wrote: > Thanks for the quick repl

Re: Tweak proxy_next_upstream based on HTTP method

2013-07-05 Thread Branden Visser
Thanks for the quick reply Maxim. That looks interesting, though in particular proxy_next_upstream and proxy_read_timeout don't report to be valid in that context. I'll give it a try, perhaps it's just an error in the docs. On Fri, Jul 5, 2013 at 9:02 AM, Maxim Dounin wrote: > Hello! > > On Fri

Re: Tweak proxy_next_upstream based on HTTP method

2013-07-05 Thread Maxim Dounin
Hello! On Fri, Jul 05, 2013 at 08:32:38AM -0400, Branden Visser wrote: > Hi all, > > I was wondering if there is a way to have different proxy_* rules depending > on the HTTP method? My use case is that I want to be a little more > conservative about what requests I retry for POST requests, as t

Tweak proxy_next_upstream based on HTTP method

2013-07-05 Thread Branden Visser
Hi all, I was wondering if there is a way to have different proxy_* rules depending on the HTTP method? My use case is that I want to be a little more conservative about what requests I retry for POST requests, as they have an undesired impact if tried twice after a "false" timeout. e.g., for GET