Add portal in trusted domains
This commit is contained in:
parent
1c6d81e86c
commit
7aeef26a94
|
@ -233,6 +233,9 @@ sub reloadConf {
|
|||
$re->add("$_");
|
||||
}
|
||||
}
|
||||
my $p = $self->conf->{portal};
|
||||
$p =~ s#https?://([^/]*).*$#$1#;
|
||||
$re->add( quotemeta($p) );
|
||||
foreach my $vhost ( keys %{ $self->conf->{locationRules} } ) {
|
||||
$self->logger->debug("Vhost $vhost added in trusted domains");
|
||||
$re->add( quotemeta($vhost) );
|
||||
|
|
Loading…
Reference in New Issue
Block a user