Proxy_pass and remote_addr

Good evening,

I know I’m not the first to ask - but I can’t seem to find an answer
on this mailing list, hence yet another question regarding passing
remote_addr.

I’m proxying IIS 6.0 (with a caching nginx) which unfortunately can’t
handle accepting X-Forwarded-For and the likes. The application I’m
running is so much enterprise that even thinking about implementing
support for XFF would cost gazillions of dollars :frowning: I’ve been playing
around with trying to overwrite remote_addr with the ‘current’ one but
unfortunately haven’t found a way.

Is it possible to pass a client ip to a proxy backend through
remote_addr (and not setting your own X-*)?

Thanks,
Johan
Bergström

Hello!

On Sun, Sep 13, 2009 at 11:18:51PM +0200, Johan Bergström wrote:

around with trying to overwrite remote_addr with the ‘current’ one but
unfortunately haven’t found a way.

Is it possible to pass a client ip to a proxy backend through
remote_addr (and not setting your own X-*)?

No.

But X-Forwarded-For support for IIS should be available, even for
6.0.

Maxim D.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs