> Hi,
>
> first of all congratulations on the release of 1.0
> 1.0 version stands for a lot of work that You put into uWSGI and it's a
> real
> pleasure to use it.
>
> Does fastrouter support using wildcard domains? I've added
>
> subscribe-to = 172.16.200.53:2626:*.app.domain.com
>
> to my vassal config. Fastrouter shows this domain in stats output:
>
> { "key": "*.app.domain.com",
> "hits": 0,
> "nodes": [
> {"name": "172.16.200.55:3001", "modifier1": 0,
> "modifier2": 0, "last_check": 1325249838, "requests": 0, "tx": 0, "cores":
> 4,
> "load": 0, "ref": 0, "failcnt": 0, "death_mark": 0}
> ]
> },
>
> But no request is being forwarded to my vassal if I try to get
> xxx.app.domain.com and I'm getting 502 from nginx.
> I have:
>
> uwsgi_param UWSGI_FASTROUTER_KEY $host;
>
> in nginx configuration. Should it work? Does fastrouter know how to handle
> wildcard domains?
Be sure to compile uWSGI with pcre support (it is automatically detected)
then add
fastrouter-subscription-use-regexp = true
You will be able to use whatever regexp you want to define domains.
--
Roberto De Ioris
http://unbit.it
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi