nginx conf 配置 最下面主要是为了后台, 之前没有发现过啊也, 用了docker 找了好几天 才生效
location / {
index index.html index.htm index.php ;
if (!-e $request_filename) {
rewrite ^(.*)$ /index.php?s=/$1 last;
break;
}
}
location ~ /..php/ {
rewrite ^(.?/?)(..php)(.)$ /$2?s=$3 last;
break;
}