Whitelist the local IP of the server itself
This commit is contained in:
parent
6ffdca7501
commit
ece16d1159
|
@ -6,7 +6,7 @@ use Net::IPv4Addr;
|
|||
my $n = esmith::NetworksDB->open_ro() ||
|
||||
die "Couldn't open networks DB\n";
|
||||
|
||||
my @ip = ("127.0.0.0/8");
|
||||
my @ip = ("127.0.0.0/8", $LocalIP);
|
||||
|
||||
# Add hosts which can access the server-manager to the whitelist
|
||||
foreach (split /[,;]/, (${'httpd-admin'}{'ValidFrom'} || '')){
|
||||
|
|
Loading…
Reference in New Issue