在 nginx 反向代理场景下,使用 ip.GetClientIP() 替代 c.ClientIP() 以正确获取客户端真实 IP 地址
Attach a file by drag & drop or click to upload