Varnish configuration
RHEL/CentOS
Daemon configuration:
/etc/sysconfig/varnishCache configuration:
/etc/varnish/default.vcl
Debugging the configuration
Test the VCL:
/usr/sbin/varnishd -d -f /etc/varnish/default.vclTrace the client and backend connections:
varnishlogCommunication between Varnish and the client is marked with "c".
Communication between Varnish and the backend is marked with "b".