wpmudev domain mapping

I have installed wpmudev domain mapping. We are running nginx.

The only way I got the system to support 2 seperate domains was by creating a seperate nginx entry for the server.

If I have hundereds of domains managing this in nginx config files is not realistic. Is there not a way to set this up where nginx files do not need to be modified everytime we have the customer add a domain mapping to a new site.

Any help much appreciated.