Will an Nginx as reverse proxy for Apache help on dynamic content only
- by Saif Bechan
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.