Open 52lemon6 opened 2 days ago
建议检查你的 nginx或其他组件需要确保halo能正确获取到 ip 参考 https://github.com/halo-dev/halo/blob/7ca17001d98b27f63d0799350064978857c48009/application/src/main/java/run/halo/app/infra/utils/IpAddressUtils.java#L16
/triage needs-information
希望增加X-Forwarded-Proto和X-Forwarded-Host,通过雷池代理的网站是通过这俩请求头传递上游IP的
/kind improvement /remove-triage needs-information
系统信息
使用的哪种方式运行?
Docker Compose
发生了什么?
如图,设备登录中无法获取到IP地址![image](https://github.com/halo-dev/halo/assets/40059643/c1a34fe6-dbce-4ba8-b6cb-d125f738c29a)
相关日志输出
No response
附加信息
No response