瀏覽代碼

Add comment into letsencrypt-gencert script clarifying why we stop Apache.

Carl Meyer 8 年之前
父節點
當前提交
579afa68d3
共有 1 個檔案被更改,包括 3 行新增0 行删除
  1. 3
    0
      roles/common/files/letsencrypt-gencert

+ 3
- 0
roles/common/files/letsencrypt-gencert 查看文件

@@ -5,6 +5,9 @@ for i in www mail autoconfig read news cloud git; do
5 5
     d="$d,$i.$1";
6 6
   fi
7 7
 done
8
+# We are using the "standalone" letsencrypt plugin, which runs its own
9
+# webserver, so we need to temporarily free up the HTTP(S) ports by stopping
10
+# our own Apache.
8 11
 service apache2 stop
9 12
 /root/letsencrypt/letsencrypt-auto certonly -c /etc/letsencrypt/cli.conf --domains $d
10 13
 service apache2 start

Loading…
取消
儲存