浏览代码

Update first_steps.md

Revision to step two, as just restarting does not apply the changes in `mailcow.conf`.
Joel Howard 8 年之前
父节点
当前提交
81e86d802e
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      docs/first_steps.md

+ 2 - 2
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: