Skip to content

Commit

Permalink
renew certs
Browse files Browse the repository at this point in the history
  • Loading branch information
petertimwalker committed Aug 22, 2024
1 parent c5ff092 commit 38ba45e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions server.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,7 @@ if (isProduction) {
key: fs.readFileSync(
'/etc/letsencrypt/live/api.peterwalker.xyz/privkey.pem',
),
cert: fs.readFileSync('/etc/letsencrypt/live/api.peterwalker.xyz/cert.pem'),
ca: fs.readFileSync('/etc/letsencrypt/live/api.peterwalker.xyz/chain.pem'),
cert: fs.readFileSync('/etc/letsencrypt/live/api.peterwalker.xyz/fullchain.pem'),
};

https.createServer(options, app).listen(PORT, () => {
Expand Down

0 comments on commit 38ba45e

Please sign in to comment.