范范学习中 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服务器的各个配置文件:设置的存储路径是否一致

    评论

报告相同问题?

悬赏问题

  • ¥35 平滑拟合曲线该如何生成
  • ¥100 c语言,请帮蒟蒻写一个题的范例作参考
  • ¥15 名为“Product”的列已属于此 DataTable
  • ¥15 安卓adb backup备份应用数据失败
  • ¥15 eclipse运行项目时遇到的问题
  • ¥15 关于#c##的问题:最近需要用CAT工具Trados进行一些开发
  • ¥15 南大pa1 小游戏没有界面,并且报了如下错误,尝试过换显卡驱动,但是好像不行
  • ¥15 自己瞎改改,结果现在又运行不了了
  • ¥15 链式存储应该如何解决
  • ¥15 没有证书,nginx怎么反向代理到只能接受https的公网网站