aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorterminaldweller <devi@terminaldweller.com>2023-05-09 19:06:19 +0000
committerterminaldweller <devi@terminaldweller.com>2023-05-09 19:06:19 +0000
commit32534b91bf0b8beb858d6985fc07c8b74e54987c (patch)
tree3d8f19284a23840b8bb7ddc428f1b2222cf03979
parentchanged the docker bind mounts so i dont have to change the cert names manually (diff)
downloadblog-32534b91bf0b8beb858d6985fc07c8b74e54987c.tar.gz
blog-32534b91bf0b8beb858d6985fc07c8b74e54987c.zip
was reading the cert and key in place of each other
-rwxr-xr-xserver.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/server.js b/server.js
index f19900b..7e45b31 100755
--- a/server.js
+++ b/server.js
@@ -185,11 +185,11 @@ if (process.env.SERVER_DEPLOYMENT_TYPE == "deployment") {
.createServer(
{
key: fs.readFileSync(
- "/etc/letsencrypt/live/blog.terminaldweller.com/fullchain.pem",
+ "/etc/letsencrypt/live/blog.terminaldweller.com/privkey.pem",
"utf-8"
),
cert: fs.readFileSync(
- "/etc/letsencrypt/live/blog.terminaldweller.com/privkey.pem",
+ "/etc/letsencrypt/live/blog.terminaldweller.com/fullchain.pem",
"utf-8"
),
},