Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Returning custom VCLs on-the-fly
sub vcl_recv {
if (req.http.host == "blog.feryn.eu") {
return(vcl(blog_vcl));
}
if (req.http.host == "talks.feryn.eu") {
return(vcl(talks_vcl));
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.