update doc for letsencrypt

This commit is contained in:
neilpang 2017-06-03 21:32:15 +08:00
parent f8542b6515
commit cd1e368128

View file

@ -149,7 +149,14 @@ Finally, start your containers with `VIRTUAL_HOST` environment variables.
$ docker run -e VIRTUAL_HOST=foo.bar.com ... $ docker run -e VIRTUAL_HOST=foo.bar.com ...
### SSL Support using letsencrypt ### SSL Support using letsencrypt
[letsencrypt-nginx-proxy-companion](https://github.com/JrCs/docker-letsencrypt-nginx-proxy-companion) is a lightweight companion container for the nginx-proxy. It allow the creation/renewal of Let's Encrypt certificates automatically. Just set `ENABLE_ACME` to `true`:
```
docker run -e VIRTUAL_HOST=foo.bar.com -e ENABLE_ACME=true ...
```
It will generate the certs from letsencrypt and renew the cert in future automatically.
### SSL Support ### SSL Support