From 64c95d239747c8dbd12c66601b953981781a1b6d Mon Sep 17 00:00:00 2001 From: Manav Rathi Date: Mon, 18 Mar 2024 21:34:24 +0530 Subject: [PATCH] Tweak formatting --- infra/services/nginx/README.md | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/infra/services/nginx/README.md b/infra/services/nginx/README.md index 6d46b4de1..75c2c7798 100644 --- a/infra/services/nginx/README.md +++ b/infra/services/nginx/README.md @@ -16,12 +16,16 @@ sudo mv nginx.service /etc/systemd/system/nginx.service Create a directory to house service specific configuration - sudo mkdir -p /root/nginx/conf.d +```sh +sudo mkdir -p /root/nginx/conf.d +``` Add the SSL certificate provided by Cloudflare - sudo tee /root/nginx/cert.pem - sudo tee /root/nginx/key.pem +```sh +sudo tee /root/nginx/cert.pem +sudo tee /root/nginx/key.pem +``` Tell systemd to pick up new service definition, enable it (so that it automatically starts on boot going forward), and start it.