shuijingping 发表于 2018-11-9 12:34:59

FastDFS整合nginx后,nginx一直报错

  FastDFS整合nginx后,nginx一直报错:
  报错内容:
   ERROR - file: ../common/fdfs_http_shared.c, line: 148, param "http.mime_types_filename" not exist or is empty
  在网上所有的教程几乎是说要在tracker.conf增加#include http.conf,但增加后还是一直报这个错误
  后来,经过仔细查看fastdfs-nginx-module的源文件,发现#include http.conf是写在mod_fastdfs.conf里,然后更改/etc/fdfs/mod_fastdfs.conf,增加#include http.conf,重启nginx解决。
  在此记下,让我搞了三天才搞好,这个痛我记下了!!!!!
  欢迎来我×××流:2211421661

页: [1]
查看完整版本: FastDFS整合nginx后,nginx一直报错