location / {
index index.php;
# thinkphp6.0 的 nginx 伪静态配置
if (!-e $request_filename) {
rewrite ^(.*)$ /index.php?s=/$1 last;
break;
}
}
thinkphp6.0 的nginx 伪静态配置
location / {
index index.php;
# thinkphp6.0 的 nginx 伪静态配置
if (!-e $request_filename) {
rewrite ^(.*)$ /index.php?s=/$1 last;
break;
}
}