nginx-gridfs
nginx-gridfs copied to clipboard
Invalid mongo user/pass: xxx/xxx
location /photo/ {
gridfs emew
root_collection=fs
field=filename
user=super
pass=super
type=string;
mongo
10.246.xx.xx:27017;
}
start nginx
2018/10/12 13:47:52 [notice] 28714#0: signal process started
2018/10/12 13:47:52 [error] 28715#0: Invalid mongo user/pass: super/super
???? why
This pulgin is only support for http://downloads.mongodb.org/linux/mongodb-linux-x86_64-rhel70-2.6.0~2.6.12.tgz
Here is my successful solution: https://blog.csdn.net/sinat_28371057/article/details/90258034
- Only supports Mongodb version 2.6.5 ~ 2.6.12
- Only Nginx 1.4.4 or below can be used: http://nginx.org/download/nginx-1.4.4.tar.gz
- Nginx-Gridfs: https://github.com/mdirolf/nginx-gridfs/ Do not use v0.8 Some detail: https://coljason2.blogspot.com/2020/03/nginx-gridfs-mongodb.html