范范学习中 2015-04-23 08:15 采纳率: 0%
浏览 8041

nginx fastdfs 配置后 上传成功 访问报404 求大神协助

nginx 配置 location /group1/M00 {
root /home/fastdfs/data;
ngx_fastdfs_module;
}

        # 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

  • 写回答

1条回答

  • anyonsss 2015-05-20 01:56
    关注

    检查一下mod_fastdfs.conf 的 url_have_group_name 是否为 ture
    检查一下storage服务器的各个配置文件:设置的存储路径是否一致

    评论

报告相同问题?

悬赏问题

  • ¥15 如何在scanpy上做差异基因和通路富集?
  • ¥20 关于#硬件工程#的问题,请各位专家解答!
  • ¥15 关于#matlab#的问题:期望的系统闭环传递函数为G(s)=wn^2/s^2+2¢wn+wn^2阻尼系数¢=0.707,使系统具有较小的超调量
  • ¥15 FLUENT如何实现在堆积颗粒的上表面加载高斯热源
  • ¥30 截图中的mathematics程序转换成matlab
  • ¥15 动力学代码报错,维度不匹配
  • ¥15 Power query添加列问题
  • ¥50 Kubernetes&Fission&Eleasticsearch
  • ¥15 報錯:Person is not mapped,如何解決?
  • ¥15 c++头文件不能识别CDialog