Right, I forgot about the port, it should help.
Would it be sane/wise to first check Host header as is in subscription
table, and if Host header contains ":<port>" but it's not found
in subscriptions than also check for such subscription without the port?
This way backend could subscribe to domains without the need to strictly
follow FastRouter port configuration.


2012/11/16 Roberto De Ioris <[email protected]>

>
> > I can't get it to work using
> > http://projects.unbit.it/uwsgi/wiki/HTTPserver
> >
> >
> > 1. router node
> > uwsgi -M --http 172.16.200.53:9080 --http-subscription-server
> > 172.16.200.53:3333 --http-ss :1230
> >
> >
> > 2. backend node
> > uwsgi -M --socket 172.16.200.55:12345 --plugins-dir
> /usr/lib/uwsgi/plugins
> > --plugins 0:dummy --check-static . --subscribe-to 172.16.200.53:3333:
> > domain.com --process 16
> >
> >
> >
>
> Sorry for the late, the subscription key must match the Host header. In
> you case it should be something like domain.com:9080
>
>
> --
> Roberto De Ioris
> http://unbit.it
> _______________________________________________
> uWSGI mailing list
> [email protected]
> http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
>



-- 
Łukasz Mierzwa
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to