Will an Nginx as reverse proxy for Apache help on dynamic content only

Posted by Saif Bechan on Stack Overflow See other posts from Stack Overflow or by Saif Bechan
Published on 2010-04-16T17:04:47Z Indexed on 2010/04/16 18:23 UTC
Read the original article Hit count: 311

Filed under:
|
|
|
|

I am planning to move all my static content to a CDN so on my server I only have dynamic content left. I now have Nginx set up as reverse proxy to Apache. The static request that came in where directly delivered by Nginx without having to go to Apache.

In this case Nginx handled a large portion of the request and I can clearly see the necessity of Nginx.

Now that I moved all the static content to another domain, is there still a need to have nginx in front of Apache. Because now all the request are by default dynamic requests and all go to Apache.

Are there any other benefits of having Nginx and Apache running for only dynamic content.

My dynamic content is PHP/MySQL

Edit:

To be clear: I now have Nginx as a reverse proxy. It delivers static and dynamic content. But I am moving my static files to a CDN. Do I then still need Nginx on my domain.

© Stack Overflow or respective owner

Related posts about nginx

Related posts about google-app-engine