A minimalistic web3 authenticated proxy, alla infura.
web3proxy <https_url> <web3_url>
where
https_url
is the url to publish the web3 endpointweb3_url
is where the http web3 is located
for instance web3proxy https://web3.myhost.com/authentication_token http://localhost:8545
web3proxy will auto generate the TLS server certificate using https://letsencrypt.org
To debug set the environment variable DEBUG=1
Just exec with docker run -p 443:443 adria0/web3proxy <https_url> <web3_url>
If you want to cache the creation of the certificate (e.g. development environments where everything is re-created from scratch) you can map the certificates folder with -v <path_to_your_certificates_cache>/cache-path:/cache-path