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
asked 5 months ago206 views
1 Answer
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
EXPERT
answered 5 months ago
  • Yes, In NLB's target group i.e. I'm using TLS protocol with port 443.

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