Ngix - Vanish Not Working
iqbalmp
nginx-forum at nginx.us
Tue Aug 28 09:11:42 UTC 2012
Hi,
I have installed 'Varnish' cache along with Nginx; also configuration has
been changed accordingly.
But now i cannot access pages (could not cnnect to the host);
Is there any settings that I have missed; please help.
OS:CentOS
/etc/default/varnish
=========================================================
DAEMON_OPTS="-a :80 \
-T localhost:6082 \
-f /etc/varnish/default.vcl \
-S /etc/varnish/secret \
-s file,/var/lib/varnish/$INSTANCE/varnish_storage.bin,1G
=========================================================
/etc/varnish/default.vcl
=========================================================
backend apache {
.host = "127.0.0.1";
.port = "8080";
}
acl purge {
"localhost";
"127.0.0.1";
}
sub vcl_recv {
.................................
..............................
=========================================================
/etc/nginx/conf.d/default.conf
=========================================================
server {
listen 8080 default;
## SSL directives might go here
...........................................
.........................................
=========================================================
Posted at Nginx Forum: http://forum.nginx.org/read.php?2,230179,230179#msg-230179
More information about the nginx
mailing list