FastDFS整合nginx后,nginx一直报错:
[2016-09-22 09:41:21] 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解决。