haproxy 如何获取nginx传来的用户真实ip?


架构模式是 nginx -> haproxy -> apache

haproxy 如何获取nginx 传递过来的真实ip?

haproxy nginx

hd0210 10 years, 4 months ago

当然是nginx增加一个字段到http request header里,把真实地址forward到后端去。想啥呢啊。

Magic.y answered 10 years, 3 months ago

Your Answer