Top Nav

Log X-Forwarded-For Headers

If your Apache instance is behind a proxy or load balancer then you’ll need to setup a custom log format to capture the X-Forwarded-For header so that you logs include the IP address of the client: