aboutsummaryrefslogtreecommitdiffstats
path: root/server.js
diff options
context:
space:
mode:
authorterminaldweller <thabogre@gmail.com>2021-09-11 19:21:13 +0000
committerterminaldweller <thabogre@gmail.com>2021-09-11 19:21:13 +0000
commit3fe53b73802ead72639ed495c91bed23062e345e (patch)
treeb98d908212c26933f717059c4cc882e498653139 /server.js
parentleft-over (diff)
downloadblog-3fe53b73802ead72639ed495c91bed23062e345e.tar.gz
blog-3fe53b73802ead72639ed495c91bed23062e345e.zip
https working now
Diffstat (limited to 'server.js')
-rwxr-xr-xserver.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/server.js b/server.js
index fb10881..231f70b 100755
--- a/server.js
+++ b/server.js
@@ -95,8 +95,8 @@ app.use((err, req, res) => {
});
https.createServer({
- key: fs.readFileSync('/certs/server.key'),
- cert: fs.readFileSync("/certs/server.cert")
+ key: fs.readFileSync("/certs/privkey1.pem","utf-8"),
+ cert: fs.readFileSync("/certs/fullchain1.pem","utf-8")
},app).listen(9000);
// app.listen(9000);