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
将真实客户端IP以自定义header头的形式发送给内网服务器,而不是默认在X-Forwarded-For增加真实IP
No response
The text was updated successfully, but these errors were encountered:
具体背景与遇到的问题? 内网服务器不支持解析么
Sorry, something went wrong.
是的,现在内网的X-Forwarded-For只获取第一个,内网部分位置没法改代码获取IP。最好自定义一个header来单独放真实IP
临时解决方法:参考官网文档的自定义 nginx conf,在站点的后台 conf 中增加一个 proxy_set_header
No branches or pull requests
背景与遇到的问题
将真实客户端IP以自定义header头的形式发送给内网服务器,而不是默认在X-Forwarded-For增加真实IP
建议的解决方案
No response
The text was updated successfully, but these errors were encountered: