Update Production HTTPS Setup

Linden Crandall 2025-02-07 00:08:20 +00:00
parent 83c2072b83
commit 894ce9dd1b

@ -85,3 +85,7 @@ http {
}
```
- Then rebuild the containers: `docker compose up -d`. After it is rebuilt we should be able to pull up Automatisch at (staging) `https://automatisch.lasthourhosting.org` with a valid cert
## Cronjob for auto SSL Cert renewals
- Locate Docker binary: `whereis docker` or `sudo whereis docker`
- It should be in `/usr/bin/docker`, but wherever it is on the system, run `crontab -e` and enter this task to renew the ssl cert, replace `/path/to/docker-compose.yml` with the actual path where the docker-compose.yml file is:
`0 5 1 */2 * /usr/bin/docker compose -f /path/to/docker-compose.yml up certbot`