Hi,
Previously i have
if ($r->header('X-Forwarded-For')) {
$reqstate->{peer_host} = $r->header('X-Forwarded-For');
}
before the auth_handler in HTTPServer.pm to get the real IP from reverse proxy.
Unfortunately the new HTTPServer.pm no longer work.
Any advise?
Previously i have
if ($r->header('X-Forwarded-For')) {
$reqstate->{peer_host} = $r->header('X-Forwarded-For');
}
before the auth_handler in HTTPServer.pm to get the real IP from reverse proxy.
Unfortunately the new HTTPServer.pm no longer work.
Any advise?