happyfish100 / fastdfs

FastDFS is an open source high performance distributed file system (DFS). It's major functions include: file storing, file syncing and file accessing, and design for high capacity and load balance. Wechat/Weixin public account (Chinese Language): fastdfs
GNU General Public License v3.0
8.97k stars 1.98k forks source link

nginx拼接文件名下载时重命名文件 #648

Open LucasHanson1 opened 1 year ago

LucasHanson1 commented 1 year ago

三台主机分别为A,B,C A,B之前搭建的,上面各有一个tracker和storage C是新搭建的fastdfs,上面只有一个storage 现在通过浏览器访问时,nginx转发,A和B拼接文件名下载的时候可以重命名成功 C上的文件在浏览器访问时,拼接filename直接报400 bad request 拼接就显示400 image 不拼接字符串就能正常显示 image 但是nginx配置文件是一样的 image 请问这个原因能是哪里的原因啊?

happyfish100 commented 1 year ago

filename这个参数比较长吧,应该是超过扩展模块中256或512这个总长度限制了。