rickyrauch / Balloons.IO

Balloons.IO is a web multi-room chat server and client ready to use. It’s built with the help of node.JS, Express, Socket.IO and Redis. Balloons uses PassportJS for authentication with Twitter and Facebook
http://balloons.io
2.37k stars 493 forks source link

SSL support #86

Closed fnkr closed 11 years ago

impronunciable commented 11 years ago

We can add an option like

https : {
//credentials
}

into config.json

impronunciable commented 11 years ago

Added the https option via a credentials option in the config.

"credentials": {
  "key": "yourkey",
  "cert": "yourcert"
}
ghost commented 10 years ago

I have Added my Cert and Key into the config and i get this error:

url.js:110 throw new TypeError("Parameter 'url' must be a string, not " + typeof url) ^ TypeError: Parameter 'url' must be a string, not undefined at Url.parse (url.js:110:11) at Object.urlParse as parse at Config (/root/Balloons.IO/config/index.js:56:25) at Object. (/root/Balloons.IO/balloons.js:18:20) at Module._compile (module.js:460:26) at Object.Module._extensions..js (module.js:478:10) at Module.load (module.js:355:32) at Function.Module._load (module.js:310:12) at Function.Module.runMain (module.js:501:10) at startup (node.js:124:16)

cristiandouce commented 10 years ago

@Hexatise you have something wrong with your configs.

Config parser is missing redisUrl at line 56 of config/index.js according to the log you shared.

ghost commented 10 years ago

I fixed it by adding this into the balloons.js file 00000053

And i set the config to true :

00000054