Connect nginx with remote mongoDB

Posted March 7, 2017 12.1k views
NginxMongoDBUbuntuDigitalOceanUbuntu 16.04

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.


These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
1 answer

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