diff options
author | terminaldweller <devi@terminaldweller.com> | 2023-05-09 19:06:19 +0000 |
---|---|---|
committer | terminaldweller <devi@terminaldweller.com> | 2023-05-09 19:06:19 +0000 |
commit | 32534b91bf0b8beb858d6985fc07c8b74e54987c (patch) | |
tree | 3d8f19284a23840b8bb7ddc428f1b2222cf03979 | |
parent | changed the docker bind mounts so i dont have to change the cert names manually (diff) | |
download | blog-32534b91bf0b8beb858d6985fc07c8b74e54987c.tar.gz blog-32534b91bf0b8beb858d6985fc07c8b74e54987c.zip |
was reading the cert and key in place of each other
-rwxr-xr-x | server.js | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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" ), }, |