Re: Wanted: suggestions on how to invert proxy_pass return codes

2013-03-06 Thread Ruslan Ermilov
On Tue, Mar 05, 2013 at 12:17:03AM +, Jonathan Matthews wrote: > A slight thinko crept in to my original mail; there's a small > difference (which does remove a minor complexity) as I've marked below > ... > > On 4 March 2013 23:58, Jonathan Matthews wrote: > [snip] > > --

Re: Wanted: suggestions on how to invert proxy_pass return codes

2013-03-04 Thread Jonathan Matthews
A slight thinko crept in to my original mail; there's a small difference (which does remove a minor complexity) as I've marked below ... On 4 March 2013 23:58, Jonathan Matthews wrote: [snip] > -- > location /healthcheck/ { >

Wanted: suggestions on how to invert proxy_pass return codes

2013-03-04 Thread Jonathan Matthews
Hi all - I have an odd requirement which I'm not quite able to solve - is there anyone out there with a solution? For reasons I won't go into, but which are unfortunately immovable and quite real, I need to come up with a location stanza that exhibits the following behaviour: ---