Conditionally chained proxy passes

Tom Barrett tom at
Mon Mar 23 18:03:53 MSK 2009


I am in the process of moving from one server to another. Both servers are
set up with NginX serving static files and proxying on the rest to Apache.
What I would like to do is proxy everything from the old box to the new one
using nginx.

However, I need the original IP address to check for throttling and log file
stats. A simple setup gives me the IP address of the old box.

Any suggestions?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the nginx mailing list