Commit 49718fc5 authored by Nigel Kukard's avatar Nigel Kukard

We cannot apply for wildcards

parent 5a6e393d
......@@ -253,6 +253,13 @@ sub webserverCheckNginx
# Output server names
foreach my $domain (keys %{$vhost->{'server_names'}}) {
# Check if domain contains wildcard, if it does, we cannot continue with it
if ($domain =~ /\*/) {
$self->logger("ERROR","NGINX: - The vhost name '%s' has a wildcard server_name, SKIPPING",$vhostName);
delete($vhostConfig->{$vhostName});
last;
}
$self->logger("INFO","NGINX: - Found server_name '%s'",$domain);
}
}
......@@ -1510,7 +1517,7 @@ use Getopt::Long;
my $NAME = "AWIT-CertMaster";
our $VERSION = "1.0.1";
our $VERSION = "1.0.2";
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment