fastdfs nginx模块mime不生效的解决办法

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。

你可能感兴趣的:(fastdfs nginx模块mime不生效的解决办法)