Ingress - Nginx is deployed in AWS, using NLB as the entry load, view the Nginx Ingress Controller log not obtained access to the configuration file according to the official website documentation as follows, add
use-proxy-protocol: "true"
However, I still cannot get access to the source address, hope to get help
You need to also enable proxy protocol on the NLB. If you create the NLB using a Kubernetes service you can follow the docs here to add an annotation to your service: NLB-IP mode - AWS LoadBalancer Controller