Sarkie opened a new issue, #11283: URL: https://github.com/apache/apisix/issues/11283
### Current Behavior When using http_x_forwarded_for in the logs, the order doesn't look to be right and also there's an issue with the comma+space aspect. Unsure if this is an Nginx bug or an apisix bug ### Expected Behavior When using http_x_forwarded_for you will get https://en.wikipedia.org/wiki/X-Forwarded-For "where the value is a comma+space separated list of IP addresses," X-Forwarded-For: client, proxy1, proxy2 ### Error Logs _No response_ ### Steps to Reproduce 1. use http_x_forwarded_for in access_log_format 2. Be behind 1 or proxies 3. Expected result "client, proxy1, proxy2" in the logs 4. Actual result "proxy1,(NO SPACE)proxy2,(SPACE)client 5 Actual result 2 "proxy1,(NO SPACE)proxy1,(SPACE)client ### Environment - APISIX version (run `apisix version`):3.8.0 - Operating system (run `uname -a`): Oracle Linux 8 - OpenResty / Nginx version (run `openresty -V` or `nginx -V`): (Unsure, will get it, asap) -- 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: notifications-unsubscr...@apisix.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org