update doc for letsencrypt
This commit is contained in:
parent
f8542b6515
commit
cd1e368128
1 changed files with 8 additions and 1 deletions
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue