Nginx stat() failed (13: Permission Denied) Nginx stat() failed (13: Permission Denied) unix unix

Nginx stat() failed (13: Permission Denied)


Do you still have this problem? This explanation worked for me: https://serverfault.com/a/170263/140684

basically nginx needs to have execution rights on every dir on the path to your app. Hope this helps.


for me this is because selinux enabled, check with

selinuxenabled && echo enabled || echo disabled

if enabled try to disable

nano /etc/sysconfig/selinuxSELINUX=disabled

then

reboot


Have you given permissions with -R?

chown -R nginx /usr/share/nginx/threadtheatre/wordpress/chmod -R 644 /usr/share/nginx/threadtheatre/wordpress/