> 2012/2/15 Roberto De Ioris <[email protected]>:
>
>> One of the most hanging-on patch is finally available:
>
> <skip>
>
> Great thanks! I'll test it. Some questions after reading
> http://projects.unbit.it/uwsgi/wiki/PSGI:
>
> 1) Why I need to set UWSGI_APPID and UWSGI_SCRIPT in nginx
> configuration? It looks like more clean to set UWSGI_APPID only

UWSGI_APPID is the identification of your app in the uwsgi processes
UWSGI_SCRIPT is the path of the app to load

Obviously you can map both to the same value


> 2) Which protocol must be implemented by applications with .pl
> extension? PSGI too?


yes, PSGI

> 3) is it still impossible to route different urls to different PSGI
> applications without external configuration in nginx?
> _______________________________________________
>

my idea is pushing the UWSGI_APPID idea to the fastrouter/subscriptions
and to the router_uwsgiplugin:

route = /foo uwsgi:,5,0,yourapp_id
route-host = *.example.com uwsgi:,5,0,yourapp_id

i will work on both today

or

subscribe-to = 192.168.0.100:4040:example.com,5,0,yourapp_id

i will implement it after the snapshot


-- 
Roberto De Ioris
http://unbit.it
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to