TCP代理模式没法获得原始的IP,如果你的后端程序支持 proxy protocol,用这个。
怎么用自己查文档吧。

2018-02-26 17:10 GMT+08:00 Wang Bin <bwang@leancloud.rocks>:
> It's not possible to obtain original IP address in TCP proxy mode.
> If your backend supports proxy protocol, you can enable proxy protocol
> to pass original IP to your backend.
>
> 2018-02-26 16:06 GMT+08:00 mingbei...@baifendian.com
> <mingbei...@baifendian.com>:
>> Hi:
>>     Hello, great big brother, haproxy gets the source IP in the TCP mode,
>> not the IP address of the haproxy, Thanks;
>>
>> ________________________________
>>
>> 徐铭贝
>>
>> Mobile: +86-15801118167

Reply via email to