diff --git a/app/Helpers/NginxVhostHelper.php b/app/Helpers/NginxVhostHelper.php index 0662a02..c9a367d 100644 --- a/app/Helpers/NginxVhostHelper.php +++ b/app/Helpers/NginxVhostHelper.php @@ -83,7 +83,10 @@ class NginxVhostHelper if (count($matches) >= 2) { $result['ssl'] = true; - var_dump($matches); die(); + // @TODO find a regex that ignore the ";" + foreach($matches as $index => $match) { + $matches[$index] = str_replace(';', '', $match); + } if (file_exists($matches[0]) && file_exists($matches[1])) { $result['ssl_certificate_exists'] = true;