I'm considering using 2 virtual servers, 1 running Apache facing the internet (e.g. www.example.com) running over https and other running ngnix on a private ip connecting to the main server to serve static content e.g. /data (css, PDF's, etc). The machines will both be hosted in a VM environment both running on the same network.
My questions is how feasible is this to set up and is it even feasible? Also is it a good idea to do it this way as I know nginx is better at serving static content and as its on a different server then its scalable for performance and space.
Does this make sense or is a good idea?