Update Production HTTPS Setup

Linden Crandall 2025-02-08 01:46:41 +00:00
parent 78fdf48940
commit f02d6fe36c

@ -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