Configure Nginx as Reverse proxy with Apache in Localhost
I am Currently using Apache Server in localhost , now i want to use nginx as reverse proxy with apache .
For Ex:When a request is come from client side (static) , the request should not go to apache server, it should read from nginx server. When a request is come from client (dynamic) , the request should now go to apache and respond to it.
1. How should i manage my apache files to get configured with nginx.
2. How should i configure the nginx to link with apache.
3. How should i configure the port(8080) to both servers..
Give some suggestion