-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
request help: real_ip_recursive for real-ip plugin #6602
Comments
@crazyMonkey1995 I think it can be implemented in the real-ip plugin. |
Am I missing something? But the logic here is just to return the last IP of XFF |
No, the current implementation of |
Ok, I misunderstood. |
@crazyMonkey1995 Would you like to try it? |
Okay, but maybe not so soon. |
Thanks! |
Issue description
I found that there was once a PR about real_ip_recursive: #4332
But it seems that the real-ip plugin does not have recursive related configuration items. In fact, I looked at the real-ip code and it seems that there is no related implementation. Is there any other way to achieve it? The current scenario is to configure it in the global plugin. real-ip for dynamic modification, looking forward to reply, thanks!
Environment
apisix version
): latestuname -a
):nginx -V
oropenresty -V
):curl http://127.0.0.1:9090/v1/server_info
to get the info from server-info API):luarocks --version
):The text was updated successfully, but these errors were encountered: