diff --git a/createVhosts.sh b/createVhosts.sh index 296b9a2..68de190 100755 --- a/createVhosts.sh +++ b/createVhosts.sh @@ -219,6 +219,7 @@ reload_nginx echo "Retrieving Let's Encrypt Certificate..." if ! get_cert; then rm $_vhost_conf_file + reload_nginx err "Failed to retrieve certificate!" fi