Browse Source

Enable site after certificate creation

Bob Mottram 8 years ago
parent
commit
1414edb2a5
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      src/freedombone-addcert

+ 1
- 0
src/freedombone-addcert View File

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