IP access logs for LAMP instance with Load Balancer

0

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?

Thanks!

l4mp1
已提問 4 年前檢視次數 361 次
1 個回答

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南