Open scramatte opened 13 years ago
This would be a nice out-of-the-box feature for this module.
I'm looking for an easy way to proxy websockets to my node.js application through apache2.
Are you looking for the apache-websocket module to process the packets and communicate at the message level, or redirect the raw traffic and have the node.js application deal with the websocket packet handling?
I need the raw traffic, as my node app is already communicating via websockets. And because websockets don't work via mod_proxy, I have to expose the port of my node app (which is ok for development, though). Do you have a solution?
I need the raw traffic, as my node app is already communicating via websockets.
Same exact situation as well. Would be a great addition!
+1
It's my understanding that the above strips the websocket protocol. Is there anything that proxies the raw traffic?
@revnode it seem only haproxy way for proxies the raw traffic.
Check out the proxy branch. It is experimental and needs further robustness improvements and features, but it is a start.
@disconnect do you know anyone have a try with the proxy branch? i don't know how to cnofig in httpd.conf.
It would be very cool to have an apache websocket module able to redirect with any kind of tcp websocket daemon. We are programming in PHP and we already have working daemon. But for example we can't use wss (ssl) and we must open another port in our firewall that might result in a security breach...
It seems that this module bellow do it what we need with Light Http ! http://github.com/nori0428/mod_websocket/
Unfortunately apache2 is a requirement for us ...
Thank you