Routing traffic to different backends
sub vcl_recv{
if (req.http.host == "www.transparentcdn..com"){
set req.backend_hint = c83_tcdn.backend();
}
if ((req.http.host == "www.transparentcdn.com") && (bereq.url ~ "/blog")) {
set req.backend_hint = c83_tcdn_blog.backend();
}
}Last updated
Was this helpful?
