Update first_steps.md

Revision to step two, as just restarting does not apply the changes in `mailcow.conf`.
master
Joel Howard 2017-04-24 03:26:33 +10:00 committed by GitHub
parent c79a33e914
commit 81e86d802e
1 changed files with 2 additions and 2 deletions

View File

@ -17,9 +17,9 @@ This is just an example of how to obtain certificates with certbot. There are se
wget https://dl.eff.org/certbot-auto -O /usr/local/sbin/certbot && chmod +x /usr/local/sbin/certbot
```
2\. Make sure you set `HTTP_BIND=0.0.0.0` and `HTTP_PORT=80` in `mailcow.conf` or setup a reverse proxy to enable connections to port 80. If you changed HTTP_BIND, then restart Nginx:
2\. Make sure you set `HTTP_BIND=0.0.0.0` and `HTTP_PORT=80` in `mailcow.conf` or setup a reverse proxy to enable connections to port 80. If you changed HTTP_BIND, then rebuild Nginx:
``` bash
docker-compose restart nginx-mailcow
docker-compose up -d
```
3\. Request the certificate with the webroot method: