Some usual Varnish commands

(for CentOS 7)

nano /etc/varnish/default.vcl

nano /etc/varnish/varnish.params

varnish_reload_vcl

netstat -lntp | grep 80

service nginx reload

varnishstat

varnishlog

service nginx restart

service varnish restart

# Start and enable Varnish process to start at system boot.

systemctl enable –now varnish

nano /etc/nginx/conf.d/…

# Verify that Varnish is running

systemctl status varnish

systemctl status varnish.service

journalctl -xe

varnishd -F -f /etc/varnish/default.vcl

service varnish-agent start

Comment

Your email address will not be published. Required fields are marked *

Vivaldi