nginx + reverse proxy question
Posted
by
Joe Pilon
on Server Fault
See other posts from Server Fault
or by Joe Pilon
Published on 2010-10-18T13:37:10Z
Indexed on
2011/01/09
2:55 UTC
Read the original article
Hit count: 228
Hello,
I am using nginx right now for our production sites with the reverse proxy to apache that's on the same server and it works fantastic.
I'm wondering if I can do this:
Install nginx on box #1 in say Canada and have it reverse proxy http requests to box #2 in a datacenter in the USA. I know there may be some latency or delays in loading the page etc but that would probably be not noticable to the end user especially if both servers have 100mb ports. Box #2 only does the apache requests, all images are served from box #1 via nginx.
Now, would the end visitor be able to tell in any which way that there are 2 boxes being used? Box #2 has sensitive data which we can't have stolen in the event of hacking etc, so this method helps keep things a bit more secure.
Anyone know if this is possible or have done something similar?
© Server Fault or respective owner