Varnish cache in nginx reverse proxied WHM

nisamudeen97

Well-Known Member
Jul 7, 2010
55
5
58
Cochin
cPanel Access Level
Root Administrator
Hi,

We have our production server with latest cpanel version "96.0 (build 8)" and it is running nginx with reverse proxy enabled. See the netstat screenshot attached for detailed information. This server is currently in production and we are running two major websites one magento2 and other a wordpress. For improving prefomance of magento website we have started R&D on magento 2 staging area and enabled varnish cache.

Our plan was to implement magento2 with varnish cache and we have installed it and configured magento accordingly. Varnish default.vcl configuration is done as per magento2 standards. After implementing the scenario and testing varnish headers are not present. Has someone enable varnish in nginx reverse proxied cpanel server?
 

Attachments

Last edited: