fastdfs-nginx-module-master的一些奇怪的特点

测试环境和生产环境分别是两套fastdfs,但是网络没有隔离,今天发现一个奇怪的现象就是测试环境的文件,通过生产环境的入口,居然也可以访问到,我草了,奇怪了

研究发现功劳是fastdfs-nginx-module-maste,他会先找本地,如果本地没有,就会用upstream到文件的源服务器,

那么怎么知道哪个是原服务器呢?

[centos@gyl-ku-prd-1 ~]$ fdfs_file_info  /etc/fdfs/client.conf  /M00/00/08/CpCJHFszxzyAbtBNAAA5w0Ux8S0472.png
source storage id: 0
source ip address: 10.144.137.28
file create timestamp: 2018-06-28 01:19:56
file size: 14787
file crc32: 1160900909 (0x4531F12D)

居然有测试环境的fastdfs服务器地址,我草了,神奇了

猜你喜欢

转载自www.cnblogs.com/huochaihe/p/9236760.html
今日推荐