How to make latest varnish on CWP 7 work
centos 7 cwp
first - backup
/etc/ld/so/conf.d/varnish-x86_64.conf
/etc/logorate.d/varnish
/etc/varnish *.* along with all conf.d vhost files
/usr/lib/systemd/system/ varnish.service and varnishcsa.service
https://packagecloud.io/varnishcache/varnish66/install#bash-rpmcurl -s https://packagecloud.io/install/repositories/varnishcache/varnish66/script.rpm.sh | sudo bash
this will add repository with new 6.6 packages for centos 7
update varnish package via yum update or CWP panel
copy back all files from backup - restart varnish and voila
[root@vps ~]# varnishd -V
varnishd (varnish-6.6.0 revision ef54768fc10f5b19556c7cf9866efc88cfbda8ff)
Copyright (c) 2006 Verdens Gang AS
Copyright (c) 2006-2020 Varnish Software
[root@vps ~]#