vi /etc/fdfs/mod_fastdfs.conf
其中有一行
# if need find content type from file extension name
# should set to false in apache server because it done by apache
# should set to true in nginx server
http.need_find_content_type=true
这里要设置成true,默认是false。