Sfoglia il codice sorgente

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

Carl Meyer 8 anni fa
parent
commit
579afa68d3
1 ha cambiato i file con 3 aggiunte e 0 eliminazioni
  1. 3
    0
      roles/common/files/letsencrypt-gencert

+ 3
- 0
roles/common/files/letsencrypt-gencert Vedi File

5
     d="$d,$i.$1";
5
     d="$d,$i.$1";
6
   fi
6
   fi
7
 done
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
 service apache2 stop
11
 service apache2 stop
9
 /root/letsencrypt/letsencrypt-auto certonly -c /etc/letsencrypt/cli.conf --domains $d
12
 /root/letsencrypt/letsencrypt-auto certonly -c /etc/letsencrypt/cli.conf --domains $d
10
 service apache2 start
13
 service apache2 start

Loading…
Annulla
Salva