Pārlūkot izejas kodu

Enable site after certificate creation

Bob Mottram 8 gadus atpakaļ
vecāks
revīzija
1414edb2a5
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  1. 1
    0
      src/freedombone-addcert

+ 1
- 0
src/freedombone-addcert Parādīt failu

@@ -279,6 +279,7 @@ function add_cert_letsencrypt {
279 279
 
280 280
     update_default_domain
281 281
 
282
+    nginx_ensite ${LETSENCRYPT_HOSTNAME}
282 283
     systemctl start nginx
283 284
 
284 285
     if [ $PIN_CERTS ]; then