Summary: | www-servers/varnish-3.0.3 - the default setup ignores the configuration file | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Ștefan Talpalaru <stefantalpalaru> |
Component: | [OLD] Server | Assignee: | Anthony Basile <blueness> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Ștefan Talpalaru
2013-03-13 12:20:40 UTC
(In reply to Stefan Talpalaru from comment #0) > VARNISHD_OPTS in /etc/conf.d/varnishd don't have the '-f' switch so > /etc/varnish/default.vcl is completely ignored. Further more, '-f' is > incompatible with '-b' so I propose the following default: > > VARNISHD_OPTS="-a 127.0.0.1:8080 -f /etc/varnish/default.vcl" > > or a line mentioning the behavior. > > Reproducible: Always Okay I've got the following lines in confd. I think this covers the bases: # 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" |