Marco-Zheng commented on issue #4470:
URL: https://github.com/apache/apisix/issues/4470#issuecomment-866571777


   @spacewander 220.249.. is the real IP which the client requested, 
   172.19... is not APISIX(proxy) IP, it's the k8s node ip(we have 9 k8s node, 
and my service `common-rest` in one of node, you can consider it as transfer 
agent ip), we need the ip from real client
   
   but as you can see, i configure X-Forwarded-For, X-Real-IP in order to get 
result `220.249.., 172.19...`
   but actually i get the result is 
   X-Real-IP=`172.19...`
   X-Forwarded-For=`null`


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to