> i am wondering if the ability exists in HAProxy to reply to a HTTP proxy
> request with a reset (RST) if no backend server is available.
>
> the scenario goes as such:
> i have a proxy pac file that assigns multiple proxies to all clients,
> and through the logic tree in the pac file, the proxies are assigned in
> a specific order. i have multiple sites with load balanced proxies, and
> the intention is to provide site failover, should a larger event occur
> like ISP issues that breaks internet access. with the pac file
> assigning all proxy VIPs to the client, should the default VIP not have
> an available backend server to fulfill the request, i would want to
> configure HAProxy to send a reset to the client, indicating that the
> next assigned proxy should be used.

HAProxy is not a forward proxy to begin with. As to your question,
no, I don't see how this would be possible without an external
helper (checking backend statuses and installing specific iptables
rules).


Lukas

                                          

Reply via email to