记一次部署fastadmin时的报错

lang 总是执行出错

Uncaught Error: Script error for “lang”, needed by: fast

Failed to load resource: the server responded with a status of 404 (Not Found)

20240623211624

20240623211645
通过修改伪静态解决

1
2
3
4
5
if (!-e $request_filename) {
rewrite ^(.+?\.php)(/.+)$ /$1?s=$2 last;
rewrite ^(.*)$ /KveacRZAzp.php?s=$1 last;
break;
}

KveacRZAzp 是随机生成的入口名