nginx伪静态怎么写成/index?id=xxx等于/xxx.html

日期:2022-04-05 20:47:40 人气:1

nginx伪静态怎么写成/index?id=xxx等于/xxx.html

if (-f $request_filename/index.html){
rewrite (.*) $1/index.html break;
}
if (-f $request_filename/index.php){
rewrite (.*) $
    A+
热门评论