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

前端 未结 15 2509
逝去的感伤
逝去的感伤 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:22

    I ran into the same problem. If you're using Fedora/RedHat/CentOS, this might help you:

    • According to SELinux: setsebool -P httpd_read_user_content 1

    Hope this helps.

提交回复
热议问题