I have two domains running on a Drupal 6 multisite configuration with Nginx (Perusio's config). The first domain, "example1.com", is just a single language, and I want to redirect all www.example1.com/* requests to example1.com/*. The second domain, example2.com, uses the i18n module to change the language and content based on the subdomain (i.e. en.example2.com -> English, es.example2.com -> Spanish). Here's the relevant lines in my nginx enabled site:
However, this causes "anything.example2.com" to get redirected to "example1.com". Any tricks or workarounds for me?
Thanks very much!