【已解答】nginx+php环境 部署thinkphp6项目出现404
设置了伪静态thinkphp接口可以正常访问但是index.php带上就还是404location ~* (runtime|application)/{
return 403;
}
location / {
if (!-e $request_filename){
rewrite^(.*)$/index.php?s=$1last; break;
}
}
伪静态设置一下,面板左侧--网站--对应网站--伪静态可以选择thinkphp的
页:
[1]