nginx 403 Forbidden错误的原因和解决方法 发表评论 通过nginx访问静态资源时,提示403 Forbidden。 解决办法: 修改nginx.conf中 最上面user属性 user 当前nginx运行的用户; 在访问即可 chown user filename