From 81e86d802ed4099a0fd96c54b355070c2491031f Mon Sep 17 00:00:00 2001 From: Joel Howard Date: Mon, 24 Apr 2017 03:26:33 +1000 Subject: [PATCH] Update first_steps.md Revision to step two, as just restarting does not apply the changes in `mailcow.conf`. --- docs/first_steps.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/first_steps.md b/docs/first_steps.md index ab7876dc..fa563a2f 100644 --- a/docs/first_steps.md +++ b/docs/first_steps.md @@ -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: