• 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?
link|improve this question

48% accept rate
feedback

1 Answer

up vote 1 down vote accepted

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.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.