apache下的伪静态转成nginx下的伪静态

Options+FollowSymlinks#PreventDirectoylistingOptions-Indexes#PreventDirectAccesstofiles<FilesMatch"\.(tpl|ini)">Orderdeny,allowDenyfromall</FilesMatch>#SEOURLSettingsRewr... Options +FollowSymlinks
# Prevent Directoy listing
Options -Indexes
# Prevent Direct Access to files
<FilesMatch "\.(tpl|ini)">
Order deny,allow
Deny from all
<

apache 转nginx伪静态规则

apache 转nginx伪静态规则
RewriteEngine on
RewriteRule ^(?!index)([^/]+)\.html$ index.php?0=thread&1=index&custom_url=$1
RewriteRule ^admin/([^/]+)\.htm$ admin/index.php?$1.htm [L]
RewriteRule ^([^/]+)\.htm$ index.php?$1.htm [L]
RewriteRule ^f/(\d+)\.html$ /index.php?0=forum&1=index&fid=$1&%{QUERY_STRING} [L]
RewriteRule ^f/(\d+)/(\d+)\.html$ /index.php?0=forum&

把apache的伪静态规则转换为nginx的

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

跪求高手解答123456789location / {            index index.php;            if (-f $request_filename/index.php){                rewrite (.*) $1/index.php

求将apache的伪静态规则转换成nginx

这个伪静态规则目前只有apache的,我自己不知道怎么转换,求大神帮忙解决问题。小弟在此非常感谢!
# BEGIN
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /plus/htaccess/html.php [L]
</IfModule>
# END  RewriteEngine On
  RewriteRule