Hey Jerry, can you elaborate?

To be clear what happens is:
1/ proxy receives requests
2/ proxy sends request to webserver
3/ webserver sends 502 response to proxy
4/ proxy forwards 502 response to the end user

I do have other webservers that I want to re-dispatch the request to - is
that what you mean by backup servers? In any case, it seems like the proxy
must be the one responsible for handling the failure.

On Fri, Aug 20, 2010 at 12:08 PM, Jerry Champlin <
[email protected]> wrote:

> It seems like you could configure backup servers within the pool to
> accomplish this although it's not quite as clean as what I suspect you are
> looking for.
>
> -Jerry
>
> Jerry Champlin
> Absolute Performance Inc.
> --
> Enabling businesses to deliver critical applications at lower cost and
> higher value to their customers.
>
>
>
> On Fri, Aug 20, 2010 at 12:54 PM, Dustin Moskovitz <[email protected]>wrote:
>
>> Hi all,
>> We run haproxy in front of a bank of nginx servers, which each proxy
>> requests to a custom web server on the same box.
>>
>> I was wondering if it is possible to configure haproxy such that it will
>> redispatch requests that receive a 502 from nginx to a new server. I looked
>> through the docs but could not find anything that seemed relevant.
>>
>> Dustin
>>
>
>

Reply via email to