FastDFS整合nginx后,nginx一直报错:

报错内容:

[2018-06-11 09:41:21] ERROR - file: ../common/fdfs_http_shared.c, line: 148, param "http.mime_types_filename" not exist or is empty

处理过程:

#include http.conf是写在/etc/fdfs/mod_fastdfs.conf里,然而在 /etc/fdfs目录中没有 http.conf和mime.type 文件。

从别的服务器copy 该两个文件并设置对你应权限。

重启nginx解决。

 

相关文章:

  • 2021-09-10
  • 2021-11-25
  • 2021-10-10
  • 2021-08-03
  • 2021-10-22
  • 2021-06-17
  • 2021-08-15
  • 2021-05-19
猜你喜欢
  • 2021-11-03
  • 2021-12-23
  • 2021-04-20
  • 2022-12-23
  • 2022-01-18
  • 2021-12-15
相关资源
相似解决方案