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
[FEATURE] WAF无法获取真实IP #4988
Labels
Comments
感谢建议,后续版本支持 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
1Panel 版本
v1.10.7
请描述您的需求或者改进建议
cdn传来的真实IP在X-Forwarded-For中,而值是这种1.1.1.1, x.x.x.x, 127.0.0.1
有真实IP在倒数第二个或倒数第三个的情况。
现在没法获取到真实IP,而是只获取了第一个IP作为真实IP
真实IP只在X-Forwarded-For字段中,所以只能指定X-Forwarded-For
需要能获取X-Forwarded-For指定位置的IP
例如:获取X-Forwarded-For倒数第一个IP
获取X-Forwarded-For倒数第二个IP
··················
请描述你建议的实现方案
No response
附加信息
No response
The text was updated successfully, but these errors were encountered: