This works as expected.  Thank you!

-----Original Message-----
From: Shawn Heisey [mailto:[email protected]]
Sent: Friday, July 24, 2015 02:39
To: HAProxy
Cc: Jim Gronowski
Subject: Re: health checks with SNI/virtual hosts

On 7/23/2015 3:20 PM, Jim Gronowski wrote:
> I’m trying to do health checks on a site that is served with SNI – so
> going directly to the IP generates a 404 – the backend server is
> looking for the hostname to determine which site to send it to.
>
>
>
> Is it correct to put the full URL in the httpchk section, like so?

This is the construct that I found, which I can confirm works on 1.5.12 and 
1.5.14.  The whole thing is all on one line.  The only space that exists after 
/html is right before HTTP/1.1.

        option  httpchk GET
/html/js/barebone.jsp?minifierType=js&minifierBundleId=javascript.barebone.files&languageId=en_US
HTTP/1.1\r\nHost:spiffy.example.com

Thanks,
Shawn




Ditronics, LLC email disclaimer:
This communication, including attachments, is intended only for the exclusive 
use of addressee and may contain proprietary, confidential, or privileged 
information. Any use, review, duplication, disclosure, dissemination, or 
distribution is strictly prohibited. If you were not the intended recipient, 
you have received this communication in error. Please notify sender immediately 
by return e-mail, delete this communication, and destroy any copies.

Reply via email to