Connect nginx with remote mongoDB

March 7, 2017 6.6k views
MongoDB Ubuntu 16.04 Ubuntu Nginx DigitalOcean

Hello everyones, did you try to connect your nginx server into a remote mongoDB? because i cant.
I think that i need some parameter into the nginx.conf like user and pass.

Thanks

1 Answer

nginx is a webserver, how exactly does it need to “connect” to MongoDB?

Have another answer? Share your knowledge.