Update index.php

See #3736
This commit is contained in:
Michael Paul Killian
2020-09-06 11:51:33 +02:00
committed by GitHub
parent b81cbaa088
commit 538827397c

View File

@@ -24,7 +24,7 @@ unset($setupVars);
$landPage = "../landing.php";
// Define array for hostnames to be accepted as self address for splash page
$authorizedHosts = [];
$authorizedHosts = ["localhost"];
if (!empty($_SERVER["FQDN"])) {
// If setenv.add-environment = ("fqdn" => "true") is configured in lighttpd,
// append $serverName to $authorizedHosts