Rewrite URI and pass request to the upstream server
ruben.grunge84 at gmail.com
Tue Mar 17 20:09:29 MSK 2009
Hi friends, I need rewrite and old URI and pass the request to the upstream
server, here is my current config file:
If for example I have http://pe.domain.com/xx-xxx-689 I need redirect to
http://cl.domain.com/xx-xxx-689 and let the upstream process the new
request, with my current config I've obtained the rewrite of the URI but
nginx return me a 404 error, therefore it is not transfering the request to
the upstream server because the 404 error page are different between nginx
and my application.
Rubén Dávila Santos.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the nginx