We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8aab2ae commit 81039f9Copy full SHA for 81039f9
src/generateNginxConfig.php
@@ -3,11 +3,13 @@
3
$certFiles = scandir($certsDir);
4
5
$newConfig = '';
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) === '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;
13
$virtualHost = getenv('VIRTUAL_HOST');
14
$newConfig .= "
15
server {
0 commit comments