vhost-stack/etc/varnish/catch-all.vcl

16 lines
312 B
Plaintext
Raw Normal View History

2021-04-04 13:28:22 -07:00
sub vcl_recv {
# default request, not handled by a specific vhost config
# uncomment to bypass cache entirely by default
# return (pass);
# use this for default varnish config
if (req.http.Cookie) {
/* Not cacheable by default */
return (pass);
}
return (hash);
}