Proxy_pass and remote_addr

Maxim Dounin mdounin at
Mon Sep 14 11:41:41 MSD 2009


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

> 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 :-( 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-*)?


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

Maxim Dounin

More information about the nginx mailing list