I have a nginx reverse-proxy (server A) running in front of another nginx server (B).
However, A doesn't seem to pass the IPs correctly to server B.
Even though I have
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
these lines in my config.
I know for Apache you simply load the RPAF-module.
Is there something similar for nginx ?
Cheers