This will set up Nginx to communicate with the mongod at 127.0.0.1:27017 and
authenticate use of database my_app with username/password combo foo/bar.
The gridfs root_collection is specified as pics. Nginx will then serve the
file in gridfs with _id 123... for any request to /gridfs/123...

Known Issues / TODO / Things You Should Hack On

HTTP range support for partial downloads

Better error handling / logging

Credits

Sho Fukamachi (sho) - towards compatibility with newer boost versions

Olivier Bregeras (stunti) - better handling of binary content

Chris Heald (cheald) - better handling of binary content

Paul Dlug (pdlug) - mongo authentication

Todd Zusman (toddzinc) - gzip handling

Kyle Banker (banker) - replica set support

License

nginx-gridfs is dual licensed under the Apache License, Version
2.0 and the GNU General Public License, either version 2 or (at your
option) any later version. See LICENSE for details.