Nginx – Reverse proxy without URL Rewriting

apache-2.2iismod-proxynginxreverse-proxy

I have been asked to setup a reverse proxy but one of the requirements is that no URL Rewriting be performed.

I'm trying to wrap my head around this since to me it seems that without rewriting the urls in the pages and the headers returned by proxy subsequent links could never work.

So my question is, is it possible to setup a working proxy solution without using URL Rewriting? I was told something about path mapping, but didn't quite get it.

Best Answer

This is what ProxyPass is all about - mod_proxy on Apache is what you need to use for that. Describing how to use mod_proxy is being the scope here as it would be a book, but the documentation in apache site is more than enough to get you going and set up anything.

http://httpd.apache.org/docs/2.2/mod/mod_proxy.html

Related Topic