AWS App Runner X-Forwarded-For Header

1

We're using a Next.js application deployed on AWS App Runner and need to retrieve the caller's source IP address. Initially, we anticipated that this information would be available in the X-Forwarded-For header, but it only shows an AWS-specific IP address. Our assumption is that the present X-Forwarded-For Header is set by the Fargate Container Engine, as a Network Load Balancer is used in App Runner.

How can we obtain the actual client's IP address?

1 Resposta
0

Hi, as I know network LB does not support X-Forwarded-For headers - https://stackoverflow.com/questions/59392747/aws-network-load-balancer-unable-to-get-client-ip

profile picture
respondido há 6 meses

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas