Skip to content

MdNor/cpanel-varnish

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cpanel-varnish

Install Varnish on cPanel server to serve static files.


Installation

wget https://raw.githubusercontent.com/MdNor/cpanel-varnish/master/install.sh
sh install.sh

Get The Setting Right

You can play around with Varnish setting to get best result based on your preferences

nano /etc/varnish/default.vcl

You can validate the setting before applying

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

To apply the setting, restart Varnish

service Varnish restart

Uninstall

In case you want to reverse the setting and uninstall Varnish

wget https://raw.githubusercontent.com/MdNor/cpanel-varnish/master/uninstall.sh
sh uninstall.sh

About

Install Varnish on cPanel server to serve static files

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages