Enhancement request for realip module...
Joaquin Cuenca Abela
e98cuenc at gmail.com
Thu Sep 25 13:09:29 MSD 2008
Hi Mike,
I posted a patch a while ago that implements this, see
http://wiki.codemongers.com/NginxModules?action=AttachFile&do=get&target=realip.patch
I think there was a bug with this patch that gives a segfault in some
conditions, if you're interested I can dig the fixed version and
upload it.
Cheers,
On Thu, Sep 25, 2008 at 6:36 AM, mike <mike503 at gmail.com> 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...
>
> Thanks,
> mike
>
>
--
Joaquin Cuenca Abela
More information about the nginx
mailing list