Translation .htacces to nginx Conf — is it possible?

we need to translate these rules to nginx:
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^ index.php [QSA,L]
March 20th 20 at 11:41
1 answer
March 20th 20 at 11:43
location / {
 try_files $uri $uri/ /index.php;
}
This applies to all lines or only the last?) - Willis.Shiel commented on March 20th 20 at 11:46
To all. There is a file - give the file. No file index.php - junius_Lueilwitz commented on March 20th 20 at 11:49

Find more questions by tags Nginxhtaccess