zccabb commented on issue #9494: URL: https://github.com/apache/apisix/issues/9494#issuecomment-1550801460
I think you can use ```shell curl "http://127.0.0.1:9080/anything" -H "X-Forwarded-For: 1.2.3.48" ``` this is because of https://github.com/apache/apisix/blob/070f15fe773f4d27df7a51996c5cc1da87951c6d/apisix/plugins/real-ip.lua#L91-L95 You can try it first and let me know if you have any more questions. -- 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. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
