nieoding / nginx-gridfs

Nginx module for serving files from MongoDB's GridFS( support SCRAM-SHA-1)
12 stars 10 forks source link

Are you going to support the "filename" key? #1

Open Pingmin opened 6 years ago

Pingmin commented 6 years ago

Hello, @nieoding !

Are you going to add the "filename" access support?

Thanks!

xiaobingchan commented 5 years ago

Here is my successful solution: https://blog.csdn.net/sinat_28371057/article/details/90258034

Pingmin commented 5 years ago

@xiaobingchan

I just used the nginx 1.14 and mongodb 4.0 and mongo c driver 1.11.0 last year, but the nginx-gridfs master branch only supports the _id as the access key.

I noticed that you used the nginx 1.12 and mongodb 2.6, so did you try it with mongodb 4.0?

Thanks!

xiaobingchan commented 5 years ago

No , String type only support,nginx 1.14 and mongodb 2.6,I have tried mongodb 4.0,it didn't work

------------------ 原始邮件 ------------------ 发件人: "平民·寻梦(Pingmin Fenlly Liu)"notifications@github.com; 发送时间: 2019年5月22日(星期三) 晚上6:04 收件人: "nieoding/nginx-gridfs"nginx-gridfs@noreply.github.com; 抄送: "小兵禅"1755337994@qq.com;"Mention"mention@noreply.github.com; 主题: Re: [nieoding/nginx-gridfs] Are you going to support the "filename"key? (#1)

@xiaobingchan

I just used the nginx 1.14 and mongodb 4.0 and mongo c driver 1.11.0 last year, but the nginx-gridfs master branch only supports the _id as the access key.

I noticed that you used the nginx 1.12 and mongodb 2.6, so did you try it with mongodb 4.0?

Thanks!

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.

Pingmin commented 5 years ago

@xiaobingchan

OK and good job all the same. BTW, we just pull the image data from mongodb by mongo driver and display the base64 image data directly in web page instead after some months. Thanks!