diff options
author | terminaldweller <devi@terminaldweller.com> | 2023-05-09 18:59:51 +0000 |
---|---|---|
committer | terminaldweller <devi@terminaldweller.com> | 2023-05-09 18:59:51 +0000 |
commit | 55b29c9c60ac0a920ba8ef68480b1f3495f0cf78 (patch) | |
tree | d74eb584ab2fe7ff2e1ecf51b4f0ebdfa5a27251 /server.js | |
parent | updated the css for the links. now you can make them out visually (diff) | |
download | blog-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-x | server.js | 10 |
1 files changed, 8 insertions, 2 deletions
@@ -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 ) |