Merge branch 'master' of github.com:Vizzuality/Windshaft-cartodb
This commit is contained in:
@@ -38,7 +38,7 @@ cluster(ws)
|
||||
.use(cluster.stats())
|
||||
.use(cluster.pidfiles('pids'))
|
||||
.set('workers', 1)
|
||||
.listen(global.environment.windshaft_port);
|
||||
.listen(global.environment.windshaft_port, global.environment.windshaft_host);
|
||||
|
||||
//ws.listen(global.environment.windshaft_port);
|
||||
console.log("Windshaft tileserver started on port " + global.environment.windshaft_port);
|
||||
|
||||
@@ -15,6 +15,7 @@ module.exports.redis = {host: '127.0.0.1',
|
||||
idleTimeoutMillis: 1,
|
||||
reapIntervalMillis: 1};
|
||||
module.exports.windshaft_port = 8181;
|
||||
module.exports.windshaft_host = '127.0.0.1';
|
||||
module.exports.enable_cors = true;
|
||||
module.exports.varnish_host = 'localhost';
|
||||
module.exports.varnish_port = 6082;
|
||||
|
||||
@@ -2,6 +2,7 @@ module.exports.name = 'production';
|
||||
module.exports.postgres = {user: 'tileuser', host: '127.0.0.1', port: 6432, simplify: true};
|
||||
module.exports.redis = {host: '127.0.0.1', port: 6379};
|
||||
module.exports.windshaft_port = 8181;
|
||||
module.exports.windshaft_host = '127.0.0.1';
|
||||
module.exports.ttl_timeout = 600; // 10 minutes
|
||||
module.exports.varnish_host = 'localhost';
|
||||
module.exports.varnish_port = 6082
|
||||
|
||||
@@ -5,6 +5,7 @@ module.exports.redis = {host: '127.0.0.1',
|
||||
idleTimeoutMillis: 1,
|
||||
reapIntervalMillis: 1};
|
||||
module.exports.windshaft_port = 8080;
|
||||
module.exports.windshaft_host = '127.0.0.1';
|
||||
module.exports.enable_cors = true;
|
||||
module.exports.varnish_host = '';
|
||||
module.exports.varnish_port = null;
|
||||
|
||||
Reference in New Issue
Block a user