On Wed, Jul 18, 2012 at 5:31 PM, Abraham Cruz Sustaita <
[email protected]> 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
_______________________________________________
varnish-misc mailing list
[email protected]
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc