Nginx as Proxy and IP forwarding

Igor Sysoev igor at sysoev.ru
Fri Mar 26 23:18:08 MSK 2010


On Fri, Mar 26, 2010 at 03:31:45PM -0400, cschiewek wrote:

> Hi All,
> 
> I'm in a situation where we have a 3rd party canned app (CF and Java on IIS) that we want to put behind an nginx proxy server.  Unfortunately, we have no control over the app and or web server so we can not tell it to use X-Forwarded-For when doing logging, ip restrictions, etc.  Is there anything I can do to make nginx pass the actual client IP without using alternative headers?

No, nginx does not support this: it requires routing on IP (L3) level.


-- 
Igor Sysoev
http://sysoev.ru/en/



More information about the nginx mailing list