Update monitolite.pl

This commit is contained in:
Axel 2021-12-17 19:32:25 +01:00 committed by GitHub
parent 5b87f3c580
commit a49f577dae
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -196,7 +196,7 @@ sub check_http {
$host = 'http://'.$host if ($host !~ m/^http/i);
my $check = LWP::UserAgent->new(
ssl_opts => { verify_hostname => 0 },
ssl_opts => { verify_hostname => 1 },
protocols_allowed => ['http', 'https']
);
$check->timeout(5);