IP access logs for LAMP instance with Load Balancer


Hi all,
I am using Lightsail with a LAMP instance and a load balancer.
In the apache access logs I can only see the load balancer IP and not the original requester IP.

Is there a way to include the origin / requester IP in the access logs of the instance behind the load balancer? How can I block certain bot/attacker IPs otherwise?


asked 3 years ago274 views
1 Answer

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions