Update Production HTTPS Setup
parent
fb7e101112
commit
260178f624
@ -97,12 +97,13 @@ certbot-1 | Key is saved at: /etc/letsencrypt/live/automatisch.lasthou
|
||||
certbot-1 | This certificate expires on 2025-05-09.
|
||||
certbot-1 | These files will be updated when the certificate renews.
|
||||
```
|
||||
- After this completes, stop the containers `ctrl+c`
|
||||
- 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:
|
||||
- Give `lasthour` user and group access to the `/certbot` folder:
|
||||
```
|
||||
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:
|
||||
- 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
|
||||
```
|
||||
|
Loading…
x
Reference in New Issue
Block a user