niginx 的 伪静态的问题

小弟 遇到 一个niginx 的 伪静态的问题 有没有哪位高手知道怎么解决啊 apache 的 伪静态规则是
RewriteEngine on
RewriteCond $1 !^(index\.php|public|images|robots\.txt)
RewriteRule ^(.*)$ /index.php/$1 [L]
不知道 niginx 怎么写?哪位高手知道的麻烦写一下规则

作者: jackchengwc   发布时间: 2011-05-01

location !~ (index\.php|public|images|robots\.txt){
  rewrite ^(/.*)$ /index.php/$1 last;
}

作者: icy_csdn   发布时间: 2011-05-05