nginx 重写去掉index.php

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

 

posted @ 2019-09-28 12:10  宁佳兵  阅读(3251)  评论(0编辑  收藏  举报