NLB Real Client IP is not capturing

0

hi,

I'm using Network Load Balancer with target group but real client IP is not showing, I'm also using the following aws cli statement but it is also not working aws elbv2 modify-target-group-attributes --attributes Key=proxy_protocol_v2.client_to_server.header_placement,Value=on_first_ack --target-group-arn [targetgrouparn] manualy when I'm going to target group and editing attributes and enabling protocol my application is not working. it start showing nginx 400 error in both listener 80 and 443, for 443 my protocol TLS and for 80 is TCP.

Can you please help to resolve it?

Astra
feita há 6 meses223 visualizações
1 Resposta
0

Hello.

What kind of errors are output in the access log and error log of the web server targeted by NLB?
Also, is your NLB's target web server listening on port 443?

profile picture
ESPECIALISTA
respondido há 6 meses
  • Yes, In NLB's target group i.e. I'm using TLS protocol with port 443.

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