我想通过使用proxy_pass在我的域上运行的NGINX公开一些Cloudant的couchdb特性。到目前为止,我已经解决了一些问题(如下所示),但我被困在授权方面。有谁有什么建议吗?start of this url
proxy_buffering off;
proxy_set_header X-Forwa
我使用nodejs中的" cloudant“模块连接到cloudant (npm install --save cloudant)。下面是初始化db连接变量并使用它的代码。//instantiate a cloudant var with the cloudant url.The url has id, password in it.
cloudant = require('cloudant')(dbCredential