- Can i configure apache reverse proxy server so that it load some of files from local document root? Like may be static files?
- Can i used Nginx as a alternate for Apache (mod_proxy, mod_proxy_html, mod_rewrite)? If yes, any links? suggestions?
1 Answer
Both can accomplish this. You can find examples of configuring Nginx as a reverse proxy under "Proxying Examples" on this page. You can also see a simple example for static content in my answer here and you might also want to consider a cookieless domain for this which can you read more about in this answer.
For more information how to make the choice between Apache and Nginx see this serverfault post.