使用HTTP身份验证从remix.ethereum.org连接到私有节点

时间:2019-01-16 02:20:38

标签: basic-authentication ethereum web3 web3js remix

我通过添加HTTPS和HTTP身份验证,使用nginx反向代理保护了我的私有geth节点。

现在可以使用curlweb3连接到我的节点。

const provider = new web3.providers.HttpProvider('https://domain', 0, "admin", "admin", []);

不幸的是,现在我无法再从remix.ethereum.org连接到我的节点。我这样尝试过:

https://user:pw@domain

有没有机会解决这个问题?

0 个答案:

没有答案