Changing backend timeout for specific urls?

Tollef Fog Heen tfheen at varnish-software.com
Fri Jul 8 12:54:31 CEST 2011


]] Lars Jørgensen 

| We have a specific path that is very slow to respond ("/cop/oai"). Would it be possible to change the backend timeout to 30 minutes for just this path?

sub vcl_miss {
	if (req.url == "/cop/oai") {
           set bereq.first_byte_timeout = 31m;
        }
}

-- 
Tollef Fog Heen
Varnish Software
t: +47 21 98 92 64




More information about the varnish-misc mailing list