Permalink
Browse files

fixes to options with https

  • Loading branch information...
santeriv committed Aug 20, 2016
1 parent 5659a07 commit a875928d80a7cc0e12d2bf15a73a6ecab207abc8
Showing with 2 additions and 2 deletions.
  1. +2 −2 app.js
View
4 app.js
@@ -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(){

0 comments on commit a875928

Please sign in to comment.