【nginx】【fastdfs】报错ERROR

【nginx】【fastdfs】报错ERROR - file: /root/fastdfs-nginx-module/src//common.c, line: 728,页面400错误

通过nginx日志查看,发现目录不对

ERROR - file: /home/usr/local/fastdfs-nginx-module-1.20/src//common.c, line: 1093, file: /home/data/fastdfs/data/00/00/wKjL4V648JqALkeeAAAqA5H_SjE122.png not exist

  

查看/home/data/fastdfs/是否有data目录,目录下是否有00等文件夹

另外,还需要将/etc/fdfs/http.conf 中的验证关闭,true改为false

检查防盗链系统
 
vi /etc/fdfs/http.conf
 
http.anti_steal.check_token=false

  

原文地址:https://www.cnblogs.com/achengmu/p/12870125.html