nginx fastdfs 配置后 上传ok 访问地址一直是404 求大神协助
范范学习中 2015-04-23 04:30:40 http://XXXXXX/group1/M00/00/00/eBoyzlU4kEmAZZ3EAAAGbsJr4eY979.gif 访问链接
nginx.conf 配置
location /group1/M00 {
root /home/fastdfs/data;
ngx_fastdfs_module;
}
mod_fast 配置
# the group name of the local storage server
group_name=group1
# 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 = true
# path(disk or mount point) count, default value is 1
# must same as storage.conf
store_path_count=1
# store_path#, based 0, if store_path0 not exists, it's value is base_path
# the paths must be exist
# must same as storage.conf
store_path0=/data/fastdfs
#store_path1=/home/yuqing/fastdfs1