13db660959fd29db5097d9ae65a902afa4295f1c
wiki/info/landscape/sail-insight.com-website.md
| ... | ... | @@ -5,7 +5,7 @@ The sail-insight micro site is hosted statically in `/home/trac/sail-insight-web |
| 5 | 5 | The SSL certificate is provided by LetsEncrypt. Since `certbot` is not available on Amazon AMI Linux a docker container with symlinks to the three relevant folders is spun up to obtain the SSL certificates: |
| 6 | 6 | |
| 7 | 7 | ``` |
| 8 | -docker run -it --rm --name certbot -v "/etc/letsencrypt:/etc/letsencrypt" -v "/var/lib/letsencrypt:/var/lib/letsencrypt" -v "/var/log/letsencrypt:/var/log/letsencrypt" -v "/home/trac/sail-insight-website/:/home/trac/sail-insight-website" certbot/certbot certonly |
|
| 8 | +docker run -it --rm --name certbot -p 80:80 -v "/etc/letsencrypt:/etc/letsencrypt" -v "/var/lib/letsencrypt:/var/lib/letsencrypt" -v "/var/log/letsencrypt:/var/log/letsencrypt" -v "/home/trac/sail-insight-website/:/home/trac/sail-insight-website" certbot/certbot certonly |
|
| 9 | 9 | ``` |
| 10 | 10 | |
| 11 | 11 | The same docker container is spun up once a week to check whether the certificate needs renewing: |