Posts Tagged ‘security.vcl’

Varnish security.vcl

July 21st, 2011 3 comments

How to setup Security.vcl on Varnish 3.0

Download it
# cd vcl/
# make
# cp -a vcl/ /etc/varnish/security.vcl/
(alternatively you could symlink it, of course).
Now all it has to be done is edit your normal VCL and
add this line near the top:
include “/etc/varnish/security.vcl/main.vcl”;

Read more…