Document varnish configuration

This commit is contained in:
Raul Ochoa 2015-01-26 16:27:59 +01:00
parent 81f1b0dcf8
commit 7e2be7b30f
4 changed files with 12 additions and 12 deletions

View File

@ -149,9 +149,9 @@ var config = {
} }
,varnish: { ,varnish: {
host: 'localhost', host: 'localhost',
port: 6082, port: 6082, // the por for the telnet interface where varnish is listening to
http_port: 6081, http_port: 6081, // the port for the HTTP interface where varnish is listening to
purge_enabled: false, purge_enabled: false, // whether the purge/invalidation mechanism is enabled in varnish or not
secret: 'xxx', secret: 'xxx',
ttl: 86400, ttl: 86400,
layergroupTtl: 86400 // the max-age for cache-control header in layergroup responses layergroupTtl: 86400 // the max-age for cache-control header in layergroup responses

View File

@ -143,9 +143,9 @@ var config = {
} }
,varnish: { ,varnish: {
host: 'localhost', host: 'localhost',
port: 6082, port: 6082, // the por for the telnet interface where varnish is listening to
http_port: 6081, http_port: 6081, // the port for the HTTP interface where varnish is listening to
purge_enabled: false, purge_enabled: false, // whether the purge/invalidation mechanism is enabled in varnish or not
secret: 'xxx', secret: 'xxx',
ttl: 86400, ttl: 86400,
layergroupTtl: 86400 // the max-age for cache-control header in layergroup responses layergroupTtl: 86400 // the max-age for cache-control header in layergroup responses

View File

@ -143,9 +143,9 @@ var config = {
} }
,varnish: { ,varnish: {
host: 'localhost', host: 'localhost',
port: 6082, port: 6082, // the por for the telnet interface where varnish is listening to
http_port: 6081, http_port: 6081, // the port for the HTTP interface where varnish is listening to
purge_enabled: false, purge_enabled: false, // whether the purge/invalidation mechanism is enabled in varnish or not
secret: 'xxx', secret: 'xxx',
ttl: 86400, ttl: 86400,
layergroupTtl: 86400 // the max-age for cache-control header in layergroup responses layergroupTtl: 86400 // the max-age for cache-control header in layergroup responses

View File

@ -145,9 +145,9 @@ var config = {
} }
,varnish: { ,varnish: {
host: '', host: '',
port: null, port: null, // the por for the telnet interface where varnish is listening to
http_port: 6081, http_port: 6081, // the port for the HTTP interface where varnish is listening to
purge_enabled: false, purge_enabled: false, // whether the purge/invalidation mechanism is enabled in varnish or not
secret: 'xxx', secret: 'xxx',
ttl: 86400, ttl: 86400,
layergroupTtl: 86400 // the max-age for cache-control header in layergroup responses layergroupTtl: 86400 // the max-age for cache-control header in layergroup responses