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
已提問 6 個月前檢視次數 223 次
1 個回答
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
專家
已回答 6 個月前
  • Yes, In NLB's target group i.e. I'm using TLS protocol with port 443.

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

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

回答問題指南