Do not send multiple equal commands to Varnish on connect

Closes #135
Also accept varnish "secret" in config
This commit is contained in:
Sandro Santilli
2014-02-12 16:14:27 +01:00
parent cdbcc7dc18
commit bf45bbea56
10 changed files with 21 additions and 8 deletions
+1
View File
@@ -95,6 +95,7 @@ var config = {
,varnish: {
host: '',
port: null,
secret: 'xxx',
ttl: 86400
}
// If useProfiler is true every response will be served with an