Skip to content

Commit

Permalink
fix: add support for secureOptions in createServer (#1575)
Browse files Browse the repository at this point in the history
  • Loading branch information
marc0l92 authored and William Blankenship committed Feb 9, 2018
1 parent 3071c23 commit 656e60e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/server.js
Expand Up @@ -162,7 +162,8 @@ function Server(options) {
passphrase: self.passphrase,
rejectUnauthorized: options.rejectUnauthorized,
requestCert: options.requestCert,
ciphers: options.ciphers
ciphers: options.ciphers,
secureOptions: options.secureOptions
});
} else if (options.httpsServerOptions) {
this.server = https.createServer(options.httpsServerOptions);
Expand Down

0 comments on commit 656e60e

Please sign in to comment.