LetsEncrypt has a http challenge that runs http and https.

This commit is contained in:
MegaXLR 2019-04-19 14:15:44 +02:00
parent 3ceeef5a00
commit 2df81a970b

View file

@ -35,7 +35,7 @@ You can now mount /home/ubuntu/docker/letsencrypt/etc/ in /etc/letsencrypt of ``
To renew your certificate just run (this will need access to port 443 from the internet, adjust your firewall if needed)
```
docker run --rm -ti -v $PWD/log/:/var/log/letsencrypt/ -v $PWD/etc/:/etc/letsencrypt/ -p 443:443 deliverous/certbot renew
docker run --rm -ti -v $PWD/log/:/var/log/letsencrypt/ -v $PWD/etc/:/etc/letsencrypt/ -p 80:80 -p 443:443 deliverous/certbot renew
```
#### Example using docker, nginx-proxy and letsencrypt-nginx-proxy-companion ####