5 messages in ru.sysoev.nginxRe: Enhancement request for realip mo...
FromSent OnAttachments
mikeSep 24, 2008 9:35 pm 
Joaquin Cuenca AbelaSep 25, 2008 2:09 am 
mikeSep 25, 2008 2:41 am 
Igor SysoevSep 25, 2008 7:58 am.realip
mikeSep 25, 2008 11:41 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: Enhancement request for realip module...Actions...
From:mike (mike@gmail.com)
Date:Sep 25, 2008 11:41:43 am
List:ru.sysoev.nginx

Thanks Igor!

To the rest of the list - I think my akamai guy mistyped it to me. It actually appears to be "True-Client-IP" I think. That one seems to be working properly :)

On Thu, Sep 25, 2008 at 7:58 AM, Igor Sysoev <is@rambler-co.ru> wrote:

On Wed, Sep 24, 2008 at 09:36:15PM -0700, mike wrote:

Is there any way to make the "real_ip_header" accept -any- header, instead of only X-Forwarded-For and X-Real-IP?

I have a site on nginx behind Akamai, and they transmit a "True-Client_IP" header with the actual client IP.

They send X-Forwarded-For as well, but it appears it might not be legitimate.

I'm thinking this is pretty simple... I assume it's only a couple lines of code to change...

The attached patch allows any header in "real_ip_header":

real_ip_header True-Client_IP;