Blockstream / greenlight

Build apps using self-custodial lightning nodes in the cloud
https://blockstream.github.io/greenlight/getting-started/
MIT License
117 stars 27 forks source link

Support http proxy #124

Open roeierez opened 1 year ago

roeierez commented 1 year ago

It is common for enterprise orgs to require from their users to use an http proxy. Sometimes there is no way to use the internet without using the org proxy. To be clear I am not talking here about a need to inspect requests payload which is a lot more complex.

cdecker commented 1 year ago

The scheduler has been changed to accept connections on the default HTTPS port as well at https://scheduler.gl.blckstrm.com. We can switch individual nodes over to the proxy, which would then mean that the contact point is also the HTTPS port if you share the node_id. Then again, we plan to switch over soon anyway :-)

cdecker commented 1 year ago

We may be able to adopt the Connector from here: https://github.com/hyperium/tonic/discussions/1206