Skip to content

Commit

Permalink
fixes to options with https
Browse files Browse the repository at this point in the history
  • Loading branch information
santeriv committed Aug 20, 2016
1 parent 5659a07 commit a875928
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app.js
Expand Up @@ -65,8 +65,8 @@ if(environment === 'production') {
var certificate = fs.readFileSync( path.join(__dirname, 'sslforfree/certificate.crt') );
https.createServer(
{
ca: certificate_authority,
cert: certificate,
ca: certificate_authority.toString(),
cert: certificate.toString(),
key: process.env.FREESSL_PRIVATE_KEY || ''
},app)
.listen(app.get('https port'), function(){
Expand Down

0 comments on commit a875928

Please sign in to comment.