Fix comment

49ceeebbf8 (commitcomment-160355697)
This commit is contained in:
Ilia Ross
2025-06-22 01:02:51 +03:00
parent f0e07518c9
commit d428f4d4c1

View File

@ -1544,7 +1544,8 @@ if ($config{'redirect_prefix'}) {
}
$prot = $ssl ? "https" : "http";
# Disallowed hostname used by redirecting to musthost
# Redirect to the configured "musthost", if "musthost_redirect" is set, rather
# than showing an error
if ($config{'musthost'} && $host ne $config{'musthost'} &&
$config{'musthost_redirect'}) {
&write_data("HTTP/1.0 302 Moved Temporarily\r\n");