Anyone know how to grab X-Forwarded-For from nginx to Apache?

Swish swish at
Mon May 11 22:16:15 MSD 2009

You can use mod_rpaf (Reverse Proxy Add Forward Module)

I'm doing this currently with no problems.

On Mon, May 11, 2009 at 10:57 AM, Michael Shadle <mike503 at> wrote:
> In apache I want that to be the REMOTE_ADDR, essentially.
> This is like nginx's set_real_ip_from.
> I am pretty sure Apache has it and I'm sure people on this list have used it.

swish at
icq: 226737620

More information about the nginx mailing list