mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2024-01-19 02:48:50 +00:00
Updated Configure SSL (markdown)
This commit is contained in:
parent
a604857200
commit
907afcfbce
|
@ -28,9 +28,9 @@ cd /home/ubuntu/docker/letsencrypt
|
|||
```
|
||||
|
||||
Now get the certificate (modify ```mail.myserver.tld```) and following the certbot instructions.
|
||||
This will need access to port 443 from the internet, adjust your firewall if needed
|
||||
This will need access to port 80 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 certonly --standalone -d mail.myserver.tld
|
||||
docker run --rm -ti -v $PWD/log/:/var/log/letsencrypt/ -v $PWD/etc/:/etc/letsencrypt/ -p 80:80 deliverous/certbot certonly --standalone -d mail.myserver.tld
|
||||
```
|
||||
You can now mount /home/ubuntu/docker/letsencrypt/etc/ in /etc/letsencrypt of ```docker-mailserver```
|
||||
|
||||
|
|
Loading…
Reference in a new issue