X-Accel-Redirect support in varnish

Sergei Kononov sergei.kononov at gmail.com
Tue Apr 21 18:03:31 CEST 2009


If someone is interested, here is a snippet of vcl_fetch for
X-Accel-Redirect header handling:

...
if ( obj.http.x-accel-redirect ~ ".*" ) {
     set req.url = obj.http.x-accel-redirect;
     restart;
}
...


-- 
Sergei Kononov



More information about the varnish-misc mailing list