All correct, but you have to subscribe as localhost:8888 instead of localhost

uwsgi --subscribe-to 127.0.0.1:2626:localhost:8888 -s 127.0.0.1:0 -w
werkzeug.testapp:test_app

ahh, so I need to know the full Host header that the router will be getting.
ok

(but that could change if behind nginx, so ok again)


Additionally
can I use the fastrouter as a dynamic http proxy to non uwsgi workers?
And how would I register them?

So for ex. I have the fastrouter started on port 8888 (uwsgi or http doesn't matter), and I have some apps that listen on http that I can't run in uwsgi (they are C or perl or something) These apps come and go, I want them to have random ports and register to the fastrouter as needed.


--
дамјан
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to