Skip to content

Commit a18b5ca

Browse files
author
Itay Melo Krämer
committed
fixed logic problem
1 parent c4652c0 commit a18b5ca

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/generateNginxConfig.php

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
foreach ($certFiles as $cert) {
88
if ($cert == '.' || $cert == '..') continue;
99
if (pathinfo($cert, PATHINFO_EXTENSION) === 'crt') continue;
10+
if ($cert === 'default.key') continue;
1011
$domain = pathinfo($cert, PATHINFO_FILENAME);
1112
echo PHP_EOL . "\033[32m" . "- " . $domain . "\033[0m" . PHP_EOL;
1213
$virtualHost = getenv('VIRTUAL_HOST') ?: throw new \Exception('env VIRTUAL_HOST is required');

0 commit comments

Comments
 (0)