summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'www-servers/varnish/files/varnishd.confd')
-rw-r--r--www-servers/varnish/files/varnishd.confd8
1 files changed, 6 insertions, 2 deletions
diff --git a/www-servers/varnish/files/varnishd.confd b/www-servers/varnish/files/varnishd.confd
index a0d49ac5b366..56366d8a74de 100644
--- a/www-servers/varnish/files/varnishd.confd
+++ b/www-servers/varnish/files/varnishd.confd
@@ -1,9 +1,13 @@
# /etc/conf.d/varnishd
-# options passed to varnish on startup
-# please see the varnishd man page for more options
+# Listen on 127.0.0.1:8080 and connect to backend 127.0.0.1:80
+# Ignore the config file, /etc/varnish/default.vcl
VARNISHD_OPTS="-a 127.0.0.1:8080 -b 127.0.0.1:80"
+# Alternatively, don't listen to a backend and use
+# the config file
+#VARNISHD_OPTS="-a 127.0.0.1:8080 -f /etc/varnish/default.vcl"
+
# arguments passed to varnishncsa
# please see the varnishncsa man page for more options
VARNISHNCSA_ARGS="-c -a -w /var/log/varnish/access.log"