Adds varnish http port to the default configurations

This commit is contained in:
Raul Ochoa
2015-01-23 16:36:45 +01:00
parent f5a3b77737
commit 885accdadf
5 changed files with 5 additions and 0 deletions
@@ -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
+1
View File
@@ -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
+1
View File
@@ -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
+1
View File
@@ -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,