Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.
  • 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?
share|improve this question
add comment

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.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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