diff --git a/virtual_feature.pl b/virtual_feature.pl index ba86ef7..c9676d4 100644 --- a/virtual_feature.pl +++ b/virtual_feature.pl @@ -2883,7 +2883,7 @@ sub set_nginx_log_permissions sub domain_server_names { my ($d) = @_; -return split(/ /, $d->{'dom_defnames'}) if ($d->{'dom_defnames'}); +return split(/\s+/, $d->{'dom_defnames'}) if ($d->{'dom_defnames'}); return ( $d->{'dom'}, "www.".$d->{'dom'}, "mail.".$d->{'dom'} ); }