Update index.py

This commit is contained in:
midoks 2022-07-15 15:33:20 +08:00
parent 19d0bb68ef
commit 6927bcbdc9
1 changed files with 3 additions and 0 deletions

View File

@ -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