You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to phusion-...@googlegroups.com
We are planning to use WebSockets for our Ruby app to provide updates to web browsers/clients and have few questions:
(1) Does Phusion Passenger now support WebSocket? If so, from which version? (2) Is it possible to configure Apache in reverse proxy to handover websocket connections to Phusion Passanger? If so, what Apache version is requried?
Thanks,
Bhavan
Tinco Andringa
unread,
Feb 8, 2014, 5:41:09 AM2/8/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to phusion-...@googlegroups.com
Hi Bhavan,
Passenger does support websockets only on nginx for now. It has done
so since version 4 I believe, when nginx introduced websocket support.
I don't know about Apache websocket support, I think it requires
Apache to be configured as a TCP proxy, we haven't heard about anyone
trying it.
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to phusion-passenger
Yes. I'm not so sure about Apache because anybody who cares about
WebSockets tend to use Nginx, which generally works better for
long-running requests anyway. I can only confidently say that
WebSockets work great on Nginx. We have a
Ruby-on-WebSocket-on-Nginx-Passenger demo here:
https://github.com/phusion/passenger-ruby-websocket-demo
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to phusion-passenger
Note that the demo does mention that it works on Apache, but it has
only received minimal testing. I'm not sure whether Apache+WebSockets
always work correctly in production. Of course, any feedback would be
most welcome.
Bhavan Shah
unread,
Feb 9, 2014, 8:44:39 PM2/9/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message