diff --git a/apps/settings/lib/Controller/CheckSetupController.php b/apps/settings/lib/Controller/CheckSetupController.php index 72b7a2afe4fea..fc3fde65fe0fb 100644 --- a/apps/settings/lib/Controller/CheckSetupController.php +++ b/apps/settings/lib/Controller/CheckSetupController.php @@ -307,7 +307,7 @@ private function forwardedForHeadersWorking() { return false; } - if (\is_array($trustedProxies) && \in_array($remoteAddress, $trustedProxies, true)) { + if (\is_array($trustedProxies) && \in_array($remoteAddress, $trustedProxies, true) && $remoteAddress !== '127.0.0.1') { return $remoteAddress !== $this->request->getRemoteAddress(); }