Binding Orbited/stomp to a suburl

4 views
Skip to first unread message

zagor

unread,
Aug 12, 2010, 7:07:55 AM8/12/10
to Orbited Discussion
Hi,
I wonder if it's possible to bind Orbited to respond to connection on
suburl http://localhost:9000/some_path .
In this way the managing by javascript is more comfortable for me.
Have you some ideas?

Luca

bird sky

unread,
Aug 12, 2010, 9:34:51 PM8/12/10
to orbite...@googlegroups.com

maybe you can use URL rewrite

在 2010-8-12 下午7:07,"zagor" <luca...@gmail.com>编写:

--
You received this message because you are subscribed to the
Orbited discussion group.
To post, send email to
   <orbite...@googlegroups.com>
To unsubscribe, send email to
   <orbited-user...@googlegroups.com>
For more options, visit
   <http://groups.google.com/group/orbited-users>

Teemu Erkkola

unread,
Aug 13, 2010, 3:03:44 AM8/13/10
to orbite...@googlegroups.com
I would recommend using nginx to proxy connections to
http://localhost:9000/some_path to your actual Orbited port.

Something like:

server {
listen 9000;
server_name localhost;

location /some_path {
# Orbited listens at port 9001
proxy_pass http://localhost:9001;

# Good settings for Orbited
proxy_buffering off;
tcp_nodelay on;
access_log off;
}

location / {
# Proxy to some other server?

Reply all
Reply to author
Forward
0 new messages