Need to convert this small htaccess code for seo url's

This is htaccess:

RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]

And this is what i got for nginx but not sure is it ok:
if (-f $request_filename) {
break;
}
if (-d $request_filename) {
break;
}
rewrite /. /index.php last;
So if someone knows better please help.

try_files $uri $uri/ /index.php?q=$uri ;

2011/4/26 John T. [email protected]

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs