We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
或许使用了CDN服务,也或许因为某些请求头不可靠,请问能支持自定义服务器获取客户端ip的请求头吗?
程序现在似乎是从 X-Forwarded-For 头中获取的ip,但其实不太可靠, 还有使用了 CDN 的情况下可以使用 CDN 提供的头,例如 CF-Connecting-IP、Ali-Cdn-Real-Ip 等等。
X-Forwarded-For
CF-Connecting-IP
Ali-Cdn-Real-Ip
The text was updated successfully, but these errors were encountered:
No branches or pull requests
或许使用了CDN服务,也或许因为某些请求头不可靠,请问能支持自定义服务器获取客户端ip的请求头吗?
程序现在似乎是从
X-Forwarded-For
头中获取的ip,但其实不太可靠,还有使用了 CDN 的情况下可以使用 CDN 提供的头,例如
CF-Connecting-IP
、Ali-Cdn-Real-Ip
等等。The text was updated successfully, but these errors were encountered: