We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c4652c0 commit a18b5caCopy full SHA for a18b5ca
src/generateNginxConfig.php
@@ -7,6 +7,7 @@
7
foreach ($certFiles as $cert) {
8
if ($cert == '.' || $cert == '..') continue;
9
if (pathinfo($cert, PATHINFO_EXTENSION) === 'crt') continue;
10
+ if ($cert === 'default.key') continue;
11
$domain = pathinfo($cert, PATHINFO_FILENAME);
12
echo PHP_EOL . "\033[32m" . "- " . $domain . "\033[0m" . PHP_EOL;
13
$virtualHost = getenv('VIRTUAL_HOST') ?: throw new \Exception('env VIRTUAL_HOST is required');
0 commit comments