Merge pull request #9 from jozanza/socketcluster-https-options
Added support for SocketCluster https options
This commit is contained in:
commit
5fdecc8867
@ -5,6 +5,12 @@ module.exports = function(argv) {
|
||||
host: argv.hostname || null,
|
||||
port: Number(argv.port) || 8000,
|
||||
workerController: __dirname + '/worker.js',
|
||||
allowClientPublish: false
|
||||
allowClientPublish: false,
|
||||
protocol: argv.protocol || 'http',
|
||||
protocolOptions: !(argv.protocol === 'https') ? null : {
|
||||
key: argv.key || null,
|
||||
cert: argv.cert || null,
|
||||
passphrase: argv.passphrase || null
|
||||
}
|
||||
});
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user