From 0471c3e85804ad48af6133f0a58d11342592d267 Mon Sep 17 00:00:00 2001 From: Marco Kundt Date: Tue, 4 May 2021 14:27:48 +0200 Subject: [PATCH] highlight the different methods for SSL --- README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index ae93753..d53fe03 100644 --- a/README.md +++ b/README.md @@ -35,10 +35,13 @@ $ mkdir -p ./volumes/web/cert ``` ### 4. Placing the certificate and key (if using provided nginx) +Use either 4.1 or 4.2 for setting up SSL. + #### 4.1 Pre-existing certificate and key ``` $ cp PATH-TO-CERT.PEM ./volumes/web/cert/cert.pem $ cp PATH-TO-KEY.PEM ./volumes/web/cert/key-no-password.pem + ``` #### 4.2 Let's Encrypt **TODO: add link to Let's Encrypt certificate guide** @@ -47,7 +50,7 @@ For using Let's Encrypt you can follow this guide LINK or use the this Bash scri methods requires you to change the path to the Let's Encrypt config folders inside the *.env*. ``` $ sudo docker volume create shared-webroot -$ bash scripts/issue-certificate.sh -d mm.example.com -o ./certs +$ bash scripts/issue-certificate.sh -d mm.example.com -o ${PWD}/certs ``` ### 5. Run `docker-compose`