spacewander commented on issue #7137: URL: https://github.com/apache/apisix/issues/7137#issuecomment-1138170951
> It will get last ip on the X-Forwarded-For header list. This behavior is equal to Nginx's default behavior. See https://nginx.org/en/docs/http/ngx_http_realip_module.html: > If recursive search is disabled, the original client address that matches one of the trusted addresses is replaced by the last address sent in the request header field defined by the [real_ip_header](https://nginx.org/en/docs/http/ngx_http_realip_module.html#real_ip_header) directive. -- 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]
