thinkphp 5.1 的URL配置

Auth:admin Date:2024-09-14 14:52:40 Cat:技术笔记


服务器是nginx

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