会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
练涛
首页
联系
Github
友情链接
博客园
关于我
练涛
Be the change you want to see in the world. 个人主页:https://blog.liantao.me 踏入了自学的不归路
首页
新随笔
联系
管理
2020年10月14日
关于使用nginx后,在获取ip上的问题
摘要: 项目部署使用nginx配置转发后,会导致获取服务器本身ip和,客户端ip都会有异常 需要配置下面三个proxy_set_header: location / { proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr;
阅读全文
posted @ 2020-10-14 16:33 练涛
阅读(473)
评论(0)
推荐(0)
编辑
公告