Nginx 环境下
找到域名对应的配置文件:
location / {
if (!-e $request_filename) {
rewrite ^(.*)$ /index.php?s=/$1 last;
}
}重启Nginx!
计算机网络/计算机科学与应用/系统/运维/开发
Nginx 环境下
找到域名对应的配置文件:
location / {
if (!-e $request_filename) {
rewrite ^(.*)$ /index.php?s=/$1 last;
}
}重启Nginx!
好的生活就是不瞎想,做得多,要得少,常微笑,懂知足。