From f02d6fe36ccbe7be116af1615f9983f1b6f3417e Mon Sep 17 00:00:00 2001 From: Linden Crandall Date: Sat, 8 Feb 2025 01:46:41 +0000 Subject: [PATCH] Update Production HTTPS Setup --- Production-HTTPS-Setup.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Production-HTTPS-Setup.md b/Production-HTTPS-Setup.md index a0e3715..5b10532 100644 --- a/Production-HTTPS-Setup.md +++ b/Production-HTTPS-Setup.md @@ -90,6 +90,10 @@ certbot-1 | This certificate expires on 2025-05-09. certbot-1 | These files will be updated when the certificate renews. ``` - There should be a new /certbot folder created at the project root, and the cert and key `.pem` files should be created at `/etc/letsencrypt/live` +- Need to give `lasthour` user and group access to the .pem keys: +``` +sudo chown -R lasthour:lasthour certbot +``` - After this completes, stop the containers `ctrl+c` and overwrite the `automatisch_letsencrypt_nginx.conf` file with the `secondary_automatisch_letsencrypt_nginx.conf` file's contents which has the 443 https and SSL configs: ``` cp https/nginx/secondary_automatisch_letsencrypt_nginx.conf https/nginx/automatisch_letsencrypt_nginx.conf