Open zhu327 opened 1 year ago
能否实现一个websocket tunnel, 在websocket请求头中拿connect的host:port, 建立连接后台, 后续所有的二进制data pipe出去
Currently crt
and key
are required parameters, otherwise it would fail right away by deno run
locally, you may try the following instead:
main({port: {http: 8000}, crt: '', key: ''}).catch(console.error);
I haven't tried Deno Deploy, but it worth to mention that Proxy program is considered against its Fair Use Policy
能否实现一个websocket tunnel, 在websocket请求头中拿connect的host:port, 建立连接后台, 后续所有的二进制data pipe出去
You probably could make it work, but only more complex, less economic, nonstandard and runs on your own tool chain.
Sorry for the later reply btw, missed issue notification from GitHub.
try to deploy caldera to deno deploy
but got
502 Bad Gateway The deployment failed while serving the request.
code: DEPLOYMENT_FAILED