2fcfd7d84b17ce9083c92086cb6dfdd2b3564167
wiki/info/landscape/sail-insight.com-website.md
| ... | ... | @@ -18,6 +18,9 @@ The resulting certificates are placed int the folder `/etc/letsencrypt/live/sail |
| 18 | 18 | |
| 19 | 19 | To spin up the docker container (above) once a week to renew the SSL cert a cronjob runs the renew script as user 'certbot' once a week. |
| 20 | 20 | |
| 21 | +`# Check if sail-insight.com cert needs renewing |
|
| 22 | +0 1 * * Thu su -u certbot docker run -it --rm --name certbot -v "/etc/letsencrypt:/etc/letsencrypt" -v "/var/lib/letsencrypt:/var/lib/letsencrypt" -v "/home/trac/sail-insight-website/:/home/trac/sail-insight-website" certbot/certbot renew && service httpd reload` |
|
| 23 | + |
|
| 21 | 24 | # Apache |
| 22 | 25 | |
| 23 | 26 | Apache config is kept in `/etc/httpd/conf.d/000-main.conf` and `/etc/httpd/conf.d/000-macros.conf`. |
| ... | ... | \ No newline at end of file |