Adds varnish http port to the default configurations
This commit is contained in:
@@ -150,6 +150,7 @@ var config = {
|
||||
,varnish: {
|
||||
host: 'localhost',
|
||||
port: 6082,
|
||||
http_port: 6081,
|
||||
secret: 'xxx',
|
||||
ttl: 86400,
|
||||
layergroupTtl: 86400 // the max-age for cache-control header in layergroup responses
|
||||
|
||||
@@ -144,6 +144,7 @@ var config = {
|
||||
,varnish: {
|
||||
host: 'localhost',
|
||||
port: 6082,
|
||||
http_port: 6081,
|
||||
secret: 'xxx',
|
||||
ttl: 86400,
|
||||
layergroupTtl: 86400 // the max-age for cache-control header in layergroup responses
|
||||
|
||||
@@ -144,6 +144,7 @@ var config = {
|
||||
,varnish: {
|
||||
host: 'localhost',
|
||||
port: 6082,
|
||||
http_port: 6081,
|
||||
secret: 'xxx',
|
||||
ttl: 86400,
|
||||
layergroupTtl: 86400 // the max-age for cache-control header in layergroup responses
|
||||
|
||||
@@ -146,6 +146,7 @@ var config = {
|
||||
,varnish: {
|
||||
host: '',
|
||||
port: null,
|
||||
http_port: 6081,
|
||||
secret: 'xxx',
|
||||
ttl: 86400,
|
||||
layergroupTtl: 86400 // the max-age for cache-control header in layergroup responses
|
||||
|
||||
@@ -89,6 +89,7 @@ module.exports = function(redisPool) {
|
||||
enable_cors: global.environment.enable_cors,
|
||||
varnish_host: global.environment.varnish.host,
|
||||
varnish_port: global.environment.varnish.port,
|
||||
varnish_http_port: global.environment.varnish.http_port,
|
||||
varnish_secret: global.environment.varnish.secret,
|
||||
cache_enabled: global.environment.cache_enabled,
|
||||
log_format: global.environment.log_format,
|
||||
|
||||
Reference in New Issue
Block a user