issues with nginx-gridfs 3rd party module

Francis Daly francis at
Sat Jan 24 13:49:39 UTC 2015

On Wed, Jan 21, 2015 at 05:50:19PM +0530, Swarna Koushik Debroy wrote:

Hi there,

> I've compiled and installed nginx with gridfs module as given by the
> instuctions and it got installed successfully. But then when I configure
> the nginx.conf with gridfs directive and restart the nginx server it fails
> giving the error as 'nginx: [emerg] unknown directive "gridfs" in
> /etc/nginx/nginx.conf:76' . Anyone who can help me fix this issue?

If "nginx -t" gives that error message, then the nginx that you called
does not have the gridfs modules included.

What command or commands do you run when you "restart the nginx server"?

Francis Daly        francis at

More information about the nginx mailing list