Skip to content

nginx configuration file throws error while gridfs configure? #65

Open
@prasadrails

Description

I have installed nginx-gridfs and followed https://github.com/mdirolf/nginx-gridfs.

Nginx installed successfully.

In nginx.conf file I have specified as below:

server{
  location /gridfs/ {
  gridfs my_app;
  }
}

It throws an error gridfs is unknown directive.

Restarting nginx: nginx: [emerg] unknown directive "gridfs" in /etc/nginx/nginx.conf:69
nginx: configuration file /etc/nginx/nginx.conf test failed

Any one suggest solution.

Thanks,
Prasad.

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions