linux+nginx+phpfpm 访问出现Access denied错误解决方案

linux上安装nginx,php-fpm后访问页面一直出现Access denied错误。

网上搜原因大概如下图:

我试了第一个方案,然后就好了。

原文地址:https://www.cnblogs.com/qk2014/p/8718460.html