Its solved..... apparently installing nginx from its source code it gets installed in /usr/local/nginx instead of /etc/nginx. Thanks anyways.
On Sat, Jan 24, 2015 at 7:19 PM, Francis Daly <[email protected]> wrote: > 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"? > > f > -- > Francis Daly [email protected] > > _______________________________________________ > nginx mailing list > [email protected] > http://mailman.nginx.org/mailman/listinfo/nginx >
_______________________________________________ nginx mailing list [email protected] http://mailman.nginx.org/mailman/listinfo/nginx
