Began to get acquainted with nginx, but I just can not implement the rules under nginx. In the config I wrote the rules for the work of the site, everything works fine.

if (!-e $request_filename){ rewrite ^/(.*)$ /index.php?uri=$1 last; } 

But there are such links site.com/mammalian-animals/rodents.html?tab=7&page=2 page with pagination, the page opens, but pagination does not work and I cannot understand how to get it to work.

Previously, the site worked under apache with such rules in htaccess

 RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ ./index.php [L] 

    0