地方门户或B2B或者是分类系统的商铺伪静态规则如下
location / {
      rewrite ^(.*)-htm-(.*)$ $1.php?Rurl=$2 last;
}

分类系统多城市高级伪静态规则如下
location / {
rewrite ^(.*)/([^\/]+)/f([^\/]+)\.([a-zA-Z0-9]+)$ $1/bencandy.php?Fid=$2&Id=$3 last;
rewrite ^(.*)/([^\/]+)/([^\/]+)/$ $1/list.php?Fid=$3&zone_street=$2 last;
rewrite ^(.*)/([^\/]+)/$ $1/list.php?Fid=$2 last;    
rewrite ^(.*)/(list|bencandy)-([^\.]+)\.([a-zA-Z0-9]+)$ $1/$2.php?stringID=$3 last;
rewrite ^(.*)/post\.([a-z]+)$ $1/post.php last;
rewrite ^(.*)/post-([0-9]+)-([0-9]+)\.([a-z]+)$ $1/post.php?fid=$2&city_id=$3 last;
rewrite ^(.*)/post-edit-([0-9]+)-([0-9]+)\.([a-z]+)$ $1/post.php?job=edit&fid=$2&id=$3 last;
rewrite ^(.*)/post-del-([0-9]+)-([0-9]+)\.([a-z]+)$ $1/post.php?action=del&fid=$2&id=$3 last;
}
当前地址:http://www.qibosoft.com/help/?Url=http://www.qibosoft.com/help/content.php?fid=1&id=97&mid=1