im trying to convert my htaccess to nginx rules. i already tried using some converter sites http://www.anilcetin.com/
RewriteBase /
Options +FollowSymLinks
RewriteEngine On
RewriteCond %{SCRIPT_FILENAME} !-d
RewriteCond %{SCRIPT_FILENAME} !-f
RewriteRule ^signup/*$ ./index.php?p=signup
RewriteRule ^login/*$ ./index.php?p=login
RewriteRule ^services/*$ ./index.php?p=services
RewriteRule ^reservation/*$ ./index.php?p=reservation
RewriteRule ^contact/*$ ./index.php?p=contact
RewriteRule ^profile/*$ ./index.php?p=profile
RewriteRule ^logout/*$ ./index.php?s=logout
RewriteRule ^404/*$ ./404.html
RewriteRule ^/404.html - [R=404]