Does Nginx use .htaccess files as Apache does? How can I use the Apache rewrite rules in .htaccess with Nginx?
Nginx does not use .htaccess files:
You will need to convert .htaccess rewrite rules to Nginx directives if you would like to keep their functionality.
Nginx has a blog post on converting Apache rules to Nginx rules that has instructions on how to do this: