diff --git a/plugins/varnish/index.py b/plugins/varnish/index.py index 84a7404ea..9b761e997 100755 --- a/plugins/varnish/index.py +++ b/plugins/varnish/index.py @@ -32,6 +32,9 @@ def getInitDFile(): def getConf(): + path = '/etc/varnish/vcl.conf' + if os.path.exists(path): + return path path = "/etc/varnish/default.vcl" return path