Enhancement request for realip module...

mike mike503 at gmail.com
Thu Sep 25 22:42:06 MSD 2008


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 at 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;
>
>
> --
> Igor Sysoev
> http://sysoev.ru/en/
>





More information about the nginx mailing list