nginx的403 Forbidden问题
今天帮同事解决一个 nginx 的问题; 问题描述: 文件地址在浏览器中无法下载, http://10.60.1.66:9082/upload/doc/20190510165337.docx nginx 在页面上报错信息 : 403 Forbidden 报 Forbidden, 第一反应是该文件没有读权限,查看该文件,妹子已经给整个目录 777 权限了; [root@localhost doc]# ll total 72 -rwxrwxrwx. 1 www www 8414 May 10 16:26 20190510162651.docx -rwxrwxrwx. 1 www www 8291 May 10 16:50 20190510165002.docx -rwxrwxrwx. 1 www www 8413 May 10 16:50 20190510165005.docx -rwxrwxrwx. 1 www www 8292 May 10 16:53 20190510165337.docx -rwxrwxrwx. 1 www www 8292 May 10 16:55 20190510165553.docx -rwxrwxrwx. 1 www www 8292 May 10 16:56 20190510165652.docx [root@localhost doc]#