Added support for SocketCluster https options
Added the following cli flags: ``` --protocol [protocol=http] --key [protocolOptions.key] --cert [protcolOptions.cert] --passphrase [protcolOptions.passphrase] ```
This commit is contained in:
parent
703bf14316
commit
aaa2381459
@ -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