We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 924f664 commit 24c44b7Copy full SHA for 24c44b7
src/generateNginxConfig.php
@@ -6,7 +6,7 @@
6
echo PHP_EOL . "\033[32m" . "Certificates : " . "\033[0m" . PHP_EOL;
7
foreach ($certFiles as $cert) {
8
if ($cert == '.' || $cert == '..') continue;
9
- if (pathinfo($cert, PATHINFO_EXTENSION) === 'key') continue;
+ if (pathinfo($cert, PATHINFO_EXTENSION) !== 'crt') continue;
10
if ($cert === 'default.crt') continue;
11
$domain = pathinfo($cert, PATHINFO_FILENAME);
12
echo PHP_EOL . "\033[32m" . "- " . $domain . "\033[0m" . PHP_EOL;
0 commit comments