Skip to content

Commit

Permalink
fixed logic problem
Browse files Browse the repository at this point in the history
  • Loading branch information
Itay Melo Krämer committed Sep 5, 2024
1 parent c4652c0 commit a18b5ca
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/generateNginxConfig.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
foreach ($certFiles as $cert) {
if ($cert == '.' || $cert == '..') continue;
if (pathinfo($cert, PATHINFO_EXTENSION) === 'crt') continue;
if ($cert === 'default.key') continue;
$domain = pathinfo($cert, PATHINFO_FILENAME);
echo PHP_EOL . "\033[32m" . "- " . $domain . "\033[0m" . PHP_EOL;
$virtualHost = getenv('VIRTUAL_HOST') ?: throw new \Exception('env VIRTUAL_HOST is required');
Expand Down

0 comments on commit a18b5ca

Please sign in to comment.