HI:
I made a lab to do a reverse proxy, my idea was this:
[Internet] --------->[RP Server with NGINX in RHEL 6.5]----\.
.\---> [ws01 with Apache in RHEL 6.5]
. \--->[ws02 with Apache in RHEL 6.5]
RP Server with NGINX in RHEL 6.5 IP: 10.0.0.100 (NIC "external" network), 192.168.122.100 (NIC "internal" network)
ws01 with Apache in RHEL 6.5 IP: 192.168.122.120 (It has the info about www.test.com)
ws02 with Apache in RHEL 6.5 IP: 192.168.122.130 (It has the info about www.prueba.com)
To emulate this i made 3 VMs in my laptop with Windows 7. I didn't have a DNS server enabled, so i have edited the hosts file in my Windows.
www.test.com 10.0.0.100
www.prueba.com 10.0.0.100
My Windows 7 for this lab has 10.0.0.10
I follow the instructions of this link: http://www.cyberciti.biz/faq/howto-linux-unix-setup-nginx-ssl-proxy/
All it's working fine.
I made a lab to do a reverse proxy, my idea was this:
[Internet] --------->[RP Server with NGINX in RHEL 6.5]----\.
.\---> [ws01 with Apache in RHEL 6.5]
. \--->[ws02 with Apache in RHEL 6.5]
RP Server with NGINX in RHEL 6.5 IP: 10.0.0.100 (NIC "external" network), 192.168.122.100 (NIC "internal" network)
ws01 with Apache in RHEL 6.5 IP: 192.168.122.120 (It has the info about www.test.com)
ws02 with Apache in RHEL 6.5 IP: 192.168.122.130 (It has the info about www.prueba.com)
To emulate this i made 3 VMs in my laptop with Windows 7. I didn't have a DNS server enabled, so i have edited the hosts file in my Windows.
www.test.com 10.0.0.100
www.prueba.com 10.0.0.100
My Windows 7 for this lab has 10.0.0.10
I follow the instructions of this link: http://www.cyberciti.biz/faq/howto-linux-unix-setup-nginx-ssl-proxy/
All it's working fine.