aboutsummaryrefslogtreecommitdiffstats
path: root/server.js
diff options
context:
space:
mode:
authorterminaldweller <devi@terminaldweller.com>2023-05-09 18:59:51 +0000
committerterminaldweller <devi@terminaldweller.com>2023-05-09 18:59:51 +0000
commit55b29c9c60ac0a920ba8ef68480b1f3495f0cf78 (patch)
treed74eb584ab2fe7ff2e1ecf51b4f0ebdfa5a27251 /server.js
parentupdated the css for the links. now you can make them out visually (diff)
downloadblog-55b29c9c60ac0a920ba8ef68480b1f3495f0cf78.tar.gz
blog-55b29c9c60ac0a920ba8ef68480b1f3495f0cf78.zip
changed the docker bind mounts so i dont have to change the cert names manually
Diffstat (limited to 'server.js')
-rwxr-xr-xserver.js10
1 files changed, 8 insertions, 2 deletions
diff --git a/server.js b/server.js
index eea4695..f19900b 100755
--- a/server.js
+++ b/server.js
@@ -184,8 +184,14 @@ if (process.env.SERVER_DEPLOYMENT_TYPE == "deployment") {
spdy
.createServer(
{
- key: fs.readFileSync("/certs/privkey1.pem", "utf-8"),
- cert: fs.readFileSync("/certs/fullchain1.pem", "utf-8"),
+ key: fs.readFileSync(
+ "/etc/letsencrypt/live/blog.terminaldweller.com/fullchain.pem",
+ "utf-8"
+ ),
+ cert: fs.readFileSync(
+ "/etc/letsencrypt/live/blog.terminaldweller.com/privkey.pem",
+ "utf-8"
+ ),
},
app
)