Bläddra i källkod

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

Carl Meyer 8 år sedan
förälder
incheckning
579afa68d3
1 ändrade filer med 3 tillägg och 0 borttagningar
  1. 3
    0
      roles/common/files/letsencrypt-gencert

+ 3
- 0
roles/common/files/letsencrypt-gencert Visa fil

@@ -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

Laddar…
Avbryt
Spara