Why does Nginx return a 403 even though all permissions are set properly?

前端 未结 15 2534
逝去的感伤
逝去的感伤 2020-12-12 09:54

I have Nginx setup and displaying the test page properly. If I try to change the root path, I get a 403 Forbidden error, even though all permissions are identical. Additiona

15条回答
  •  清歌不尽
    2020-12-12 10:26

    I was using:

    sudo service nginx start
    

    If I use:

    sudo nginx 
    

    ...everything works fine. Can anyone explain the difference between these two?

提交回复
热议问题