Showing
1 changed file
with
2 additions
and
0 deletions
... | @@ -9,6 +9,8 @@ var http=require('http'); | ... | @@ -9,6 +9,8 @@ var http=require('http'); |
9 | var fs = require("fs"); | 9 | var fs = require("fs"); |
10 | 10 | ||
11 | var httpsOptions = { | 11 | var httpsOptions = { |
12 | + hostname: 'oss.chatbot.bu.to', | ||
13 | + ca: fs.readFileSync('/etc/letsencrypt/live/oss.chatbot.bu.to/fullchain.pem'), | ||
12 | 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'), |
13 | 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') |
14 | }; | 16 | }; | ... | ... |
-
Please register or login to post a comment