# if the url / uri including the group name
# set to false when uri like /M00/00/00/xxx
# set to true when uri like ${group_name}/M00/00/00/xxx, such as group1/M00/xxx
# default value is false
url_have_group_name = false
3)重新编译nginx:
./configure --prefix=/usr/local/nginx --add-module=/root/soft/fastdfs/fastdfs-nginx-module/src
make & sudo make install
4)启动nginx
5)验证
1)使用fdfs_test upload 一个文件,fdfs_test client.conf upload a.html 得到remote_filename=M00/00/01/CgAHl1JuKkKAKvhvAAAAEbptGHo73.html
2)通过http请求下载这个文件 http://10.0.7.151/M00/00/01/CgAHl1JuKkKAKvhvAAAAEbptGHo73.html
3)下载到文件表示成功
6)参考网页:http://lection-yu.iteye.com/blog/1536870