nginx open() "" failed (13: Permission denied), client:错误解决办法

网上找了很多方法,最后发现是文件夹权限的问题。

open() "/var/www/watsy/xxxxxx/static/bootstrap/css/bootstrap.min.css" failed (13: Permission denied), client:


结果发现是网站根目录权限不够。

chmod 777 /var/www/watsy/xxxxxx

解决


你可能感兴趣的:(nginx open() "" failed (13: Permission denied), client:错误解决办法)