Try something like.. this is my probe at ".backend" on my directors:
.probe =
{
.timeout = 3s;
.interval = 10s;
.window = 10;
.threshold = 8;
.request =
"HEAD / HTTP/1.1"
"Host: yourdomain.com"
"Connection: close"
"Accept-Encoding: compress, gzip" ;
}
--
Roberto O. Fernández Crisial
@rofc
On Mon, Dec 5, 2011 at 3:10 PM, Mit Rowe <[email protected]> wrote:
> Is there a way to specify the method used during health checks, such as
> using "HEAD" instead of "GET"?
>
> (current healthcheck pasted below)
>
> probe healthcheck {
> .url = "/api/system/check/";
> .interval = 2s;
> .timeout = 0.3s;
> .window = 1;
> .threshold = 1;
> .initial = 0;
> .expected_response = 200;
> }
>
>
>
>
> --
> Will 'Mit' Rowe
> Stagename*
> *1-866-326-3098
> [email protected] <[email protected]>
> www.stagename.com
> Twitter: @stagename
>
> *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.*
>
> _______________________________________________
> varnish-misc mailing list
> [email protected]
> https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
>
_______________________________________________
varnish-misc mailing list
[email protected]
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc