yyyar / gobetween

:cloud: Modern & minimalistic load balancer for the Сloud era
http://gobetween.io
Other
1.91k stars 210 forks source link

X-Forwarded-For header #301

Closed skakee closed 3 years ago

skakee commented 3 years ago

Can gobetween insert HTTP headers, specifically X-Forwared-For. If not, is there any other strategy that could be employed to log the original client source IP address in the back-end apache logs?

illarion commented 3 years ago

Currently only PROXY protocol (v1) is implemented for that purpose. Please refer to good explanation here: https://developers.cloudflare.com/spectrum/proxy-protocol