【nginx】【fastdfs】报错ERROR

有些话、适合烂在心里 提交于 2020-07-24 09:25:18

【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/storage,而不是:/home/data/fastdfs/

于是修改了 /etc/fdfs目录下的:client.conf, storage.conf

store_path0=/home/data/fastdfs/storage

  

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

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

  

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!