diff --git a/apache/index.cgi b/apache/index.cgi index 854c43c7f..d8d034f2b 100755 --- a/apache/index.cgi +++ b/apache/index.cgi @@ -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/");