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.
How should i manage my apache files to get configured with nginx.
How should i configure the nginx to link with apache.
How should i configure the port(8080) to both servers..
Give some suggestion