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?
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”?