Control Web Panel
WebPanel => Apache => Varnish => Topic started by: empmdk on August 12, 2014, 04:46:12 PM
-
I have activated Varnish with the following settings --
Apache IP: "My Shared IP"
Apache Port: 82
Varnish IP: all
Varnish Port: 80
Varnish Storage: 1G
Net Stat Info
tcp 0 0 0.0.0.0:82 0.0.0.0:* LISTEN 811/httpd
tcp 0 0 127.0.0.1:6082 0.0.0.0:* LISTEN 839/varnishd
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 840/varnishd
tcp 0 0 :::80 :::* LISTEN 840/varnishd
My problem is, Varnish doesn't seem to be purging anything ever. When it's activated, the only thing it loads when I go to one of my domains is the default Apache page. However, that index.html no longer exists. If Varnish is stopped and I set Apache back to port 80, it loads fine. It also will load the page as it should if I add :82 to the end of the site address while Varnish is running.
-
do you get warning error message when you login in CWP as root?
if no then please contact support for more detailed check of this issue.
http://centos-webpanel.com/contact
-
No, I don't get any errors. Thanks.
-
I have the exact same issue with varnish
-
all info is already added in the installation instructions:
http://forum.centos-webpanel.com/varnish/how-to-install-varnish-cache-on-centos-%28cwp%29/
-
Try changing your shared ip address to 127.0.0.1 i dont think its a caching issue its probably sending all www traffic to the default page.
ps i know this thread is old but maybe someone else will benefit in future
-
How can I set a limit for the cache?
Varnish-operative spends the entire memory.