Page 1 of 1

Varnish on VestaCP

Posted: Thu Nov 16, 2017 5:51 pm
by pramathesh
Hi,

Is there a working guide on how to get Varnish Cache to work on Vesta CP on Ubuntu 16.04 with NGINX - PHP-FPM setup. Has anyone got it to work yet? Would like to try it on my setup mentioned above.

Re: Varnish on VestaCP

Posted: Mon Nov 20, 2017 10:11 am
by plutocrat
There is an apache + nginx setup, where nginx is working as a caching proxy, effectively doing the same job as varnish.

Varnish isn't supported by vestacp, so if you want that setup, you might be better off installing your own server. Basically Varnish will listen on ports 80 and 443, and then forward to nginx on one or two separate ports (depending on whether you terminate SSL at varnish or not)