Hi there,

i'd like to use variables in healtchecks to set the host header to the
ip of the server that is beeing checked, something like this:

> http-check connect port 443 ssl
> http-check send meth GET uri /ecp/healthcheck.htm ver HTTP/1.1 hdr host 
> $SERVERIP 
> http-check expect status 200

Problem is: i don't know if this is possible and if there is already a
variable for such configs (can %si from the log format section be used
for this?)

I'm on haproxy 2.2.x

cheers
 basti

Reply via email to