location / {
#PC版
rewrite "^/listinfo-(.+?)-(.+?)\.html$" /e/action/ListInfo/index.php?classid=$1&page=$2 last;
#rewrite "^/showinfo-(.+?)-(.+?)-(.+?)\.html$" /e/action/ShowInfo.php?classid=$1&id=$2&page=$3 last;
rewrite "^/(.+?)-(.+?)-(.+?)\.html$" /e/action/ListInfo.php?classid=$1&ph=1&fenlei=$2&tempid=$3 last;
rewrite "^/sitemap.xml$" /sitemap.php last;
}
已经生成静态文件的内容页面/xx/2016-10-03/43861.html打不开了