[求助] nginx dz 伪静态

[求助] nginx dz 伪静态

2018-06-23 17:46

nginx dz 伪静态
rewrite ^([^\.]*)/forum-(\w+)-([0-9]+)\.html$ $1/forum.php?mod=forumdisplay&fid=$2&page=$3 last,2018香港开奖结果历史记录;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&$2=$3 last;if (!-e $request_filename) {        return 404;}
这段代码要放在 NGINX.CONF配置文件的哪个地方?