You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2021/06/23 04:41:18 UTC

[GitHub] [apisix] spacewander commented on issue #4470: bug: Can't get real Ip in service

spacewander commented on issue #4470:
URL: https://github.com/apache/apisix/issues/4470#issuecomment-866516448


   If I understand it correctly,
   
   `220.249..` is the client IP. `172.19...` is the APISIX(proxy) IP. So you want to put client IP in the X-Forwarded-For header.
   
   But from your description, I think the client doesn't send its IP in the X-Forwarded-For (as X-Forwarded-For is null). So is there a way to get its IP? 


-- 
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:
users@infra.apache.org