Permalink
Browse files

allow pfx for ssl

  • Loading branch information...
1 parent 0f4c521 commit ba8513137d4b51537232ff4e6b79a0a1aed7d544 @substack committed Mar 22, 2013
Showing with 2 additions and 2 deletions.
  1. +1 −1 index.js
  2. +1 −1 package.json
View
@@ -16,7 +16,7 @@ module.exports = function (opts, cb) {
if (!opts) opts = {};
if (typeof opts === 'object' && opts.listen) opts = { server: opts };
- var ssl = Boolean(opts.key && opts.cert);
+ var ssl = Boolean(opts.key || opts.pfx);
var connectionEvent = ssl ? 'secureConnection' : 'connection';
var server = opts.server || (ssl
View
@@ -1,7 +1,7 @@
{
"name" : "bouncy",
"description" : "route incoming http requests to http servers",
- "version" : "3.1.0",
+ "version" : "3.1.1",
"repository" : {
"type" : "git",
"url" : "git://github.com/substack/bouncy.git"

0 comments on commit ba85131

Please sign in to comment.