2 Answers
- Newest
- Most votes
- Most comments
1
Thanks for the detailed description.
In this case, $remote_addr
still captures the IP address of the NLB node. Try adding $proxy_protocol_addr
to the log_format and see if this helps, with more details in https://docs.nginx.com/nginx/admin-guide/load-balancer/using-proxy-protocol/.
answered 2 years ago
0
Hello - any updates on this issue? We are also facing same issue in our EKS env - we are using nginx ingress controller with NLB with proxy protocol and can't see the original client IP in the requests/logs.
Any configuration can help to pass the client ip on into the nginx pods and the EKS backend pods?
answered a year ago
Relevant content
- asked 2 years ago
- AWS OFFICIALUpdated 2 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 8 months ago