页面出现上图403错误,forbidden。

从意思上说,是提示无法访问,目录无法访问

结果方法:

在nginx中nginx.conf中添加autoindex on;

如图:

重启nginx即可