只需一步,快速开始
举报
toyst 发表于 2019-3-21 23:48 真实IP服务端能获取,我想要服务端判断客户端是访问的「https://192.168.2.5:5001」,而不是通过nginx代 ...
yaren 发表于 2019-3-21 23:42 #这样配置可以通过x-forwarded-for获取用户真实ip proxy_set_header X-Real-IP $remote_addr;
本版积分规则 发表回复
Archiver|手机版|小黑屋|全球主机交流论坛
GMT+8, 2026-1-15 20:00 , Processed in 0.067451 second(s), 11 queries , Gzip On, MemCache On.
Powered by Discuz! X3.4
© 2001-2023 Discuz! Team.