by default cluster.js binds to 127.0.0.1 instead of 0.0.0.0
This commit is contained in:
parent
a1c0bcac25
commit
d084c07080
@ -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);
|
||||
|
@ -5,6 +5,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};
|
||||
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;
|
||||
|
Loading…
Reference in New Issue
Block a user