Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions content/en/hosting/cht/docker/adding-tls-certificates.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,9 +121,9 @@ Assuming your CHT instance is **already running with the default self-signed cer
```shell
docker exec -it cht_nginx_1 nginx -s reload
```
7. Attempt to renew your certificates once a week by adding this cronjob via `crontab -e`. Certbot will only renew them as needed:
7. Attempt to renew your certificates once a week by adding this cronjob via `crontab -e`. Certbot will only renew them as needed. Per prior step, be sure to check that the name of your container is `cht_nginx_1` from two steps ago:
```shell
0 0 * * 0 cd /home/ubuntu/cht/certbot&&docker compose up
0 0 * * 0 cd /home/ubuntu/cht/certbot && docker compose up && docker exec -it cht_nginx_1 nginx -s reload
```

## Troubleshooting
Expand Down