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回答
0
l4mp1
回答済み 4年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ