haproxy not passing X_FORWARD_FOR on HTTP POST
- by Mark L
Hello,
I've setup HAProxy with the
option forwardfor
option so it'll pass on the user's IP to PHP via $_SERVER[ "HTTP_X_FORWARDED_FOR" ].
If the page request isn't a POST it's populated fine but if it is then it won't be populated. Any ideas where I've gone wrong?
Thanks everyone!
My whole HAProxy conf file for reference:
global
log…