I don't know, if it helps people like to convert .htaccess from apache to nginx.
http://winginx.com/en/htaccess