Nginx下thinkphp的Rewrite伪静态规则

不许人间见白头 63 0
location / { 
    if (!-e $request_filename) { 
    rewrite ^(.*)$ /index.php?s=$1 last; 
    break; 
    } 
}


标签: Nginx Thinkphp

抱歉,评论功能暂时关闭!