Re: Config help - check a URL

From: Aleksandar Lazic <>
Date: Fri, 25 Apr 2008 20:40:41 +0200

Hi Christopher,

On Fre 25.04.2008 10:54, Christopher F. Falzone wrote:
> Hello,
> I have been using haProxy for a while and it is working great.
> However, when one of my 3 servers stops responding, I am still getting
> traffic to it.
> I would guess this is due to the way I have the check setup. What I
> really want it to do is check and see if a particular URL is up
> instead of just the IP. I know there must be a way to do this, but
> these things really confuse me.
> Below is my current config file. How would I change the check to look
> at a URL instead of just at the IP level?
> Would I use ...
> option httpchk /home/

I would use:

option httpchk HEAD /home/ HTTP/1.1\r\nHost:\ www

more detail explanation under

3.1) Server monitoring


Aleks Received on 2008/04/25 20:40

This archive was generated by hypermail 2.2.0 : 2008/04/25 20:45 CEST