From 807fe9dea8eef2cf1b32a66f34d0ec95c31966ca Mon Sep 17 00:00:00 2001 From: Lewis Date: Fri, 22 Feb 2019 08:26:25 -0800 Subject: [PATCH] Slight changes Suggested changes from comments --- sections/security/secureserver.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sections/security/secureserver.md b/sections/security/secureserver.md index 8b15fadb..2f287e65 100644 --- a/sections/security/secureserver.md +++ b/sections/security/secureserver.md @@ -5,7 +5,7 @@ ### One Paragraph Explainer -Using services such as [Let's Encrypt](https://letsencrypt.org/), a certificate authority who provide __free__ SSL/TLS certificates, can help encrypt the communication of your applications. Node.js frameworks like [Express](http://expressjs.com/) (based on the core `https` module) supports SSL/TLS, which can be implemented in a few lines of code. +Using services such as [Let'sEncrypt](https://letsencrypt.org/), a certificate authority which provides __free__ SSL/TLS certificates, can help encrypt the communication of your applications. Node.js frameworks like [Express](http://expressjs.com/) (based on the core `https` module) support SSL/TLS, which can be implemented in a few lines of code. You can also configure SSL/TLS on a reverse proxy, such as [NGINX](http://nginx.org/en/docs/http/configuring_https_servers.html) or HAProxy. @@ -20,7 +20,7 @@ const app = express(); const options = { // The path should be changed accordingly to your setup cert: fs.readFileSync('./sslcert/fullchain.pem'), - key: fs.readFileSync('./sslcert/privkey.pem'), + key: fs.readFileSync('./sslcert/privkey.pem') }; https.createServer(options, app).listen(443); ```