This is a module that allows you to manage many aspects of a multisite Drupal installation.
Nginx Module