nginx “403 Forbidden” 错误 解决方法

错误的原因是缺少index.html或者index.php文件,就是配置文件中index index.html index.htm这行中的指定的文件

只需要配置时加一句  index  index.html index.htm index.php

原文地址:https://www.cnblogs.com/katydids/p/9964117.html