No matter which client I access from, in the end my client IP is the IP of the ingress, not the real IP. The picture is my visit from my local machine, but the ip is not 127.0.0.1
Thank you very much, but my cluster is local, the NodePort type used by kong-proxy, env I also have configured KONG_TRUSTED_IPS, KONG_PROXY_LISTEN, KONG_REAL_IP_HEADER, but that has no effect, it is worth noting that I have tried to use nginx outside the cluster to forward the request Give kong, and configure these in nginx in this way, so that I can get the real IP, the following is the nginx configuration