nginx + reverse proxy question
- by Joe Pilon
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?