ThinkPHP5 在Nginx环境下开启伪静态

location / {
    if (!-e $request_filename){
        rewrite  ^(.*)$  /index.php?s=$1  last;   break;
    }
}
原文地址:https://www.cnblogs.com/felixwan/p/15796481.html