Ver código fonte

Enable site after certificate creation

Bob Mottram 8 anos atrás
pai
commit
1414edb2a5
1 arquivos alterados com 1 adições e 0 exclusões
  1. 1
    0
      src/freedombone-addcert

+ 1
- 0
src/freedombone-addcert Ver arquivo

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