Posted inServer Nginx displaying failed (13: Permission denied) Posted by By xodor 2024-05-16No Comments 这个问题首先查看的是目录的权限,nginx启动用户是否对网站目录有读写权限。 如果网站目录在/root目录下那么就算www-data对网站目录有读写权限,也会有此错误信息,最好网站目录放在/var/www/html下。 xodor View All Posts Post navigation Previous Post 在redis中通过经纬度计算距离的方法?Next PostNginx 1 FastCGI sent in stderr: “Primary script unknown”