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 :(:o:(:o:(:o:(:o:confused:
How to setup NGINX as a proxy for Apache:
These instructions work for a debian based Linux Distro.
1 - Install NGINX
2 - Configure "/etc/nginx/sites-available/whatever"
5 - Install Apache
6 - "/etc/apache2/ports.conf" Should have these lines:
10 - Install PHP
11. - Restart both Apache & NGINX.
Hope this helps any.
|All times are GMT +1. The time now is 05:23 AM.|
Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.