Topic: MultiSite Server Config

I have an app which I want to serve up multiple domains. On my local machine its mysite.local/sites/domain_name_here

What I need is to route that url to the root of a domain, for example here is my nginx conf:

server {
      listen 80;
      server_name        mysite.local;
      root               /Users/me/apps/myapp/sites/mysite;
      passenger_enabled  on;
      rails_env          development;

    }

Unfortunately since that precise URL is calling the Rails stack, nginx gives me a 404 error.

One solution would be to just use page caching so nginx has something static to serve up - but this wont work for some parts of the site where action caching is used (logged in pages)

Still researching this a bit, but definitely open to suggestions