This commit is contained in:
parent
603ed2196e
commit
5f1462a30a
|
@ -63,7 +63,9 @@
|
||||||
"env NODE_ENVIRONMENT=production npm install",
|
"env NODE_ENVIRONMENT=production npm install",
|
||||||
"rsync",
|
"rsync",
|
||||||
"pm2 startup OR pm2 save",
|
"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": {
|
"env": {
|
||||||
"NODE_ENV": "production"
|
"NODE_ENV": "production"
|
||||||
|
|
|
@ -90,7 +90,7 @@ if (process.env.NODE_ENV === "production") {
|
||||||
"utf8"
|
"utf8"
|
||||||
),
|
),
|
||||||
cert: fs.readFileSync(
|
cert: fs.readFileSync(
|
||||||
"/etc/letsencrypt/live/kill-the-newsletter.com/cert.pem",
|
"/etc/letsencrypt/live/kill-the-newsletter.com/fullchain.pem",
|
||||||
"utf8"
|
"utf8"
|
||||||
)
|
)
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue