Method in health check

Per Buer perbu at varnish-software.com
Mon Dec 5 19:14:14 CET 2011


On Mon, Dec 5, 2011 at 7:10 PM, Mit Rowe <mit at stagename.com> wrote:

> Is there a way to specify the method used during health checks, such as
> using "HEAD" instead of "GET"?


Yes.

         probe rawprobe {
             "HEAD / HTTP/1.1"
             "Host: www.foo.bar"
             "Connection: close";
       }

This is documented in the reference material. Available in "man vcl".


Per.

-- 
Per Buer, CEO
Phone: +47 21 98 92 61 / Mobile: +47 958 39 117 / Skype: per.buer
*Varnish makes websites fly!*
Whitepapers <http://www.varnish-software.com/whitepapers> |
Video<http://www.youtube.com/watch?v=x7t2Sp174eI> |
Twitter <https://twitter.com/varnishsoftware>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20111205/d35e2a2b/attachment-0003.html>


More information about the varnish-misc mailing list