1 FastCGI sent in stderr: “Primary script unknown”

前端 未结 5 1720
有刺的猬
有刺的猬 2021-02-04 05:15

My first time using Nginx, but I am more than familiar with Apache and Linux. I am using an existing project and when ever I am trying to see the index.php I get a 404 File not

5条回答
  •  南旧
    南旧 (楼主)
    2021-02-04 05:59

    In case anyone had the same error: in my case the problem was the missing root directive inside the location block in nginx.conf, as explained in the Arch wiki

提交回复
热议问题