- 論壇徽章:
- 0
|
本帖最后由 yayu_myself 于 2013-01-06 19:15 編輯
最新的nginx 模塊的1.4似乎多了多組的支持,不過感覺好像不是LZ提到的這個(gè)
配置文件中有
# 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
我現(xiàn)在也是多組配置的問題,有多個(gè)storage:
storage1 group1 192.168.19.117
storage2 group2 192.168.19.116
現(xiàn)在只在 storage1上裝了 nginx和擴(kuò)展模塊:- location /M00 {
- root /home/fastdfs/data;
- ngx_fastdfs_module;
- }
復(fù)制代碼 這樣只能訪問117上的storage,如何配置可以讓nginx訪問到 116上group2的文件。 |
|