From 5f1462a30a11264b5603356ce51cf18f18309e7d Mon Sep 17 00:00:00 2001 From: Leandro Facchinetti Date: Fri, 20 Mar 2020 02:15:46 -0400 Subject: [PATCH] . --- package.json | 4 +++- src/index.tsx | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 3da27e7..5baa343 100644 --- a/package.json +++ b/package.json @@ -63,7 +63,9 @@ "env NODE_ENVIRONMENT=production npm install", "rsync", "pm2 startup OR pm2 save", - "pm2 start env.js" + "pm2 start env.js", + "https://pm2.keymetrics.io/docs/usage/startup/", + "https://certbot.eff.org/docs/using.html" ], "env": { "NODE_ENV": "production" diff --git a/src/index.tsx b/src/index.tsx index b114c82..7514b39 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -90,7 +90,7 @@ if (process.env.NODE_ENV === "production") { "utf8" ), cert: fs.readFileSync( - "/etc/letsencrypt/live/kill-the-newsletter.com/cert.pem", + "/etc/letsencrypt/live/kill-the-newsletter.com/fullchain.pem", "utf8" ) };