location / {
    if (!-e $request_filename){
        rewrite  ^(.*)$  /index.php?s=$1  last;   break;
    }
}

 

posted on 2021-12-05 20:08  garfieldtom  阅读(19)  评论(0编辑  收藏  举报