解决Nginx出现forbidden (13: Permission denied)
小于 1 分钟
解决Nginx出现forbidden (13: Permission denied)
Nginx访问目录时报Permission denied权限不足
xxxxx is forbidden (13: Permission denied), client: xxxx
解决方法
打开Nginx配置文件
$ vim /etc/nginx/nginx.conf
修改user
#user www-data; user root; worker_processes auto; pid /run/nginx.pid;
重载Nginx
$ nginx -s reload