Replaces HTACCESS rules in nginx rewrites

If you are using NginX instead of Apache server, you will need to replace the .htaccess rules with NginX style rules.
Read this file for the example rule.