I'm trying to run a multi domain blog installation with Wordpress and Nginx. The last step is to configure some rewrite rules in .htaccess (apache only) for the webserver. How so I translate this into Nginx rewrite rules.
RewriteEngine On
RewriteBase /
RewriteRule ^index.php$ - [L]
# uploaded files
RewriteRule ^files/(.+) wp-includes/ms-files.php?file=$1 [L]
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^ - [L]
RewriteRule . index.php [L]
Thanks in advance.