Forum: NGINX Conditionally chained proxy passes

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
336441262231125b6d323e53e0b3abdb?d=identicon&s=25 Tom Barrett (Guest)
on 2009-03-23 16:10
(Received via mailing list)
Hi

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?
This topic is locked and can not be replied to.