은승우

Update app.js

Showing 1 changed file with 1 additions and 0 deletions
...@@ -10,6 +10,7 @@ var fs = require("fs"); ...@@ -10,6 +10,7 @@ var fs = require("fs");
10 10
11 var httpsOptions = { 11 var httpsOptions = {
12 hostname: 'oss.chatbot.bu.to', 12 hostname: 'oss.chatbot.bu.to',
13 + ca: fs.readFileSync('/etc/letsencrypt/live/oss.chatbot.bu.to/fullchain.pem'),
13 key: fs.readFileSync('/etc/letsencrypt/live/oss.chatbot.bu.to/privkey.pem'), 14 key: fs.readFileSync('/etc/letsencrypt/live/oss.chatbot.bu.to/privkey.pem'),
14 cert: fs.readFileSync('/etc/letsencrypt/live/oss.chatbot.bu.to/cert.pem') 15 cert: fs.readFileSync('/etc/letsencrypt/live/oss.chatbot.bu.to/cert.pem')
15 }; 16 };
......