- 论坛徽章:
- 0
|
本帖最后由 yayu_myself 于 2013-01-06 19:15 编辑
最新的nginx 模块的1.4似乎多了多组的支持,不过感觉好像不是LZ提到的这个
配置文件中有
# set the group count
# set to none zero to support multi-group
# set to 0 for single group only
# groups settings section as [group1], [group2], ..., [groupN]
# default value is 0
# since v1.14
group_count = 0
# group settings for group #1
# since v1.14
# when support multi-group, uncomment following section
#[group1]
#group_name=group1
#store_path_count=2
#store_path0=/home/yuqing/fastdfs
#store_path1=/home/yuqing/fastdfs1
# group settings for group #2
# since v1.14
# when support multi-group, uncomment following section as neccessary
#[group2]
#group_name=group2
#store_path_count=1
#store_path0=/home/yuqing/fastdfs
我现在也是多组配置的问题,有多个storage:
storage1 group1 192.168.19.117
storage2 group2 192.168.19.116
现在只在 storage1上装了 nginx和扩展模块:- location /M00 {
- root /home/fastdfs/data;
- ngx_fastdfs_module;
- }
复制代码 这样只能访问117上的storage,如何配置可以让nginx访问到 116上group2的文件。 |
|