mirror of
https://github.com/webmin/webmin.git
synced 2026-05-04 22:30:33 +01:00
Assume HTTP for port 443 https://github.com/webmin/webmin/issues/217
This commit is contained in:
@@ -220,6 +220,9 @@ foreach $v (@virt) {
|
||||
if (&find_vdirective("SSLEngine", $vm, $conf, 1) eq "on") {
|
||||
$prot = "https";
|
||||
}
|
||||
elsif ($port == 443) {
|
||||
$prot = "https";
|
||||
}
|
||||
$sp = undef if ($sp == 80 && $prot eq "http" ||
|
||||
$sp == 443 && $prot eq "https");
|
||||
push(@vurl, $sp ? "$prot://$sn:$sp/" : "$prot://$sn/");
|
||||
|
||||
Reference in New Issue
Block a user