Background
For my work, we have two different networks, the developers network, and the general company network. I need to expose the rails app to both, running under a sub uri so that the people on the general network can get to the app from foo.bar.com/{app_name}, and on the developer network from https://{server_name}.{dev_network}.dev/{app_name}. Sadly, we are not allowed to use Passenger, as this is an enterprise application.For my work, we have two different