Try something like.. this is my probe at ".backend" on my directors:<div><br></div><div><div> .probe =</div><div> {</div><div> .timeout = 3s;</div>
<div> .interval = 10s;</div><div> .window = 10;</div><div> .threshold = 8;</div><div> .request =</div>
<div> "HEAD / HTTP/1.1"</div><div> "Host: <a href="http://yourdomain.com">yourdomain.com</a>"</div><div> "Connection: close"</div>
<div> "Accept-Encoding: compress, gzip" ;</div><div> }</div><div><br></div><div>--</div><div>Roberto O. Fernández Crisial</div><div>@rofc</div><div><br>
</div><br><div class="gmail_quote">On Mon, Dec 5, 2011 at 3:10 PM, Mit Rowe <span dir="ltr"><<a href="mailto:mit@stagename.com">mit@stagename.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Is there a way to specify the method used during health checks, such as using "HEAD" instead of "GET"?<div><br></div><div>(current healthcheck pasted below)</div><div><br></div><div><div>probe healthcheck {</div>
<div> .url = "/api/system/check/";</div><div> .interval = 2s;</div><div> .timeout = 0.3s;</div><div> .window = 1;</div><div> .threshold = 1;</div><div> .initial = 0;</div><div> .expected_response = 200;</div>
<div>}</div><span class="HOEnZb"><font color="#888888"><div><br></div><div><br></div><div><br></div><div><br></div>-- <br><span style="font-family:arial,sans-serif;font-size:13px;border-collapse:collapse"><span style="color:gray">Will 'Mit' Rowe<br>
Stagename</span><i><br>
</i><span style="color:rgb(153,153,153)">1-866-326-3098</span><br><span style="color:rgb(153,153,153)"><a href="mailto:josh@stagename.com" style="color:rgb(42,93,176)" target="_blank">mit@stagename.com</a></span><br style="color:rgb(153,153,153)">
<span style="color:rgb(153,153,153)"><a href="http://www.stagename.com/" style="color:rgb(42,93,176)" target="_blank">www.stagename.com</a></span><br><span style="color:rgb(153,153,153)">Twitter: @stagename</span><br style="color:rgb(153,153,153)">
<br style="color:rgb(153,153,153)"><span style="font-size:8pt;color:rgb(153,153,153)"></span><i><span style="font-size:8pt;color:gray">The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of this information by persons or entities other than the intended recipient is prohibited. If you received this transmission in error, please contact the sender and delete all material contained herein from your computer.</span></i><span style="font-size:8pt;color:gray"></span> </span><br>
</font></span></div>
<br>_______________________________________________<br>
varnish-misc mailing list<br>
<a href="mailto:varnish-misc@varnish-cache.org">varnish-misc@varnish-cache.org</a><br>
<a href="https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc" target="_blank">https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc</a><br></blockquote></div><br></div>