location / {
if (!-e $request_filename) {
rewrite ^(.*)$ /index.php?s=$1 last;
break;
}
}
给这两个文件夹设置权限 chmod -R 777 public chmod -R 777 runtime
location / {
if (!-e $request_filename) {
rewrite ^(.*)$ /index.php?s=$1 last;
break;
}
}
给这两个文件夹设置权限 chmod -R 777 public chmod -R 777 runtime