[求助] nginx dz 伪静态

时间:2018-06-22 16:29来源:未知 作者:admin 点击:
nginx dz 伪静态
rewrite ^([^\.]*)/forum-(\w+)-([0-9]+)\.html$ $1/forum.php?mod=forumdisplay&fid=$2&page=$3 last;rewrite ^([^\.]*)/thread-([0-9]+)-([0-9]+)-([0-9]+)\.html$ $1/forum.php?mod=viewthread&,444400.com开奖直播;tid=$2&extra=page%3D$4&page=$3 last;rewrite ^([^\.]*)/space-(username|uid)-(.+)\.html$ $1/home.php?mod=space&,3794最快开奖结果3794;$2=$3 last;if (!-e $request_filename) {        return 404;}
这段代码要放在 NGINX.CONF配置文件的哪个地方?