There is the following file

RewriteEngine on RewriteCond %{SCRIPT_FILENAME} !-d RewriteCond %{SCRIPT_FILENAME} !-f RewriteRule ^(.*)$ ./index.php?act=$1 Options -Indexes 

I converted it to the nginx config and got the following

 autoindex off; location / { if ($script_filename !~ "-d"){ rewrite ^(.*)$ /index.php?act=$1; } } 

When adding to the config of what happened, the nginks do not start, how to treat?

0