Skip to content

Commit

Permalink
SSL documentation contains a small bug #2381 (#2383)
Browse files Browse the repository at this point in the history
  • Loading branch information
Twist235 committed Jan 31, 2022
1 parent 16a7d90 commit 602f6fc
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions docs/content/config/security/ssl.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,23 @@ You don't have to do anything else. Enjoy!
```

2. Add a volume for `docker-mailserver` that maps the _local `certbot/certs/` folder_ to the container path `/etc/letsencrypt/`.

!!! example

Add these additions to the `mailserver` service in your [`docker-compose.yml`][github-file-compose]:

```yaml
services:
mailserver:
# For the FQDN 'mail.example.com':
hostname: mail
domainname: example.com
environment:
- SSL_TYPE=letsencrypt
volumes:
- ./docker-data/certbot/certs/:/etc/letsencrypt
```

3. The certificate setup is complete, but remember _it will expire_. Consider automating renewals.

!!! tip "Renewing Certificates"
Expand Down

0 comments on commit 602f6fc

Please sign in to comment.