Yes, haproxy has HTTP proxy mode.
You can obtain original IP address in X-Forwarded-For header (which set by
haproxy) in HTTP proxy mode.

2018-02-26 17:23 GMT+08:00 [email protected] <
[email protected]>:

> Hi:
>     Thank you. haproxy support HTTP1.1 ?   Can Haproxy and TPROXY be ok ?
>
> ------------------------------
> [email protected]
> *徐铭贝*
>
> 数据仓库助理工程师 平台业务部
>
> Mobile: +86-15801118167 <+86%20158%200111%208167>
>
> E-mail:[email protected]
>
> BAIFENDIAN.COM <http://baifendian.com/> - Big Data Practitioner
>
> 北京市朝阳区北辰西路8号院2号楼北辰世纪中心A座16层
>
>
>
> *From:* Wang Bin <[email protected]>
> *Date:* 2018-02-26 17:10
> *To:* [email protected]
> *CC:* haproxy <[email protected]>
> *Subject:* Re: haproxy tcp mode source ip
> 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 [email protected]
> <[email protected]>:
> > 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 <+86%20158%200111%208167>
>
>

Reply via email to