I have no idea why backend is sick
Shibashish
shib4u at gmail.com
Thu Jul 19 02:46:07 CEST 2012
On Wed, Jul 18, 2012 at 5:31 PM, Abraham Cruz Sustaita <
abraham.sustaita at buscacorp.com> wrote:
> I have all the sections in separated files:
>
> At backend.vcl
>
> backend app02 {
> .host = "app02.domain.com";
> .port = "80";
> .connect_timeout = 1.5s;
> .first_byte_timeout = 45s;
> .between_bytes_timeout = 30s;
> .probe = {
> .url = "/health-check.html";
> .interval = 1s;
> .timeout = 30s;
> .window = 10;
> .threshold = 8;
> }
> }
>
> At vcl_recv.vcl:
>
> #request to beta
> if (req.http.Host == "www.domain.com") {
> set req.backend = app02;
>
> }
>
>
On app02...
apachectl -S
>From varnish host...
wget -s http://app02.domain.com/health-check.html
wget --header="Host: www.domain.com" app02.domain.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20120718/a22e16ef/attachment.html>
More information about the varnish-misc
mailing list