I have also added more detailed description with system diagram at:
http://stackoverflow.com/questions/23068740/nginx-reverse-proxy-on-another-web-server-with-redirection
Thank you!
Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,249291,249292#msg-249292
Hi all,
I have the problem with configuring nginx to perform proxy redirection to
web server that appends some its local path to redirected address. As a
result I get url of my server (where nginx is running) but with path (from
another machine) appended.
The configuration is:
location ~*