2012/2/14 Roberto De Ioris <[email protected]>:

>> But how can I route to different psgi scripts by different urls? Is it
>> possible to have default application or static page for unknown url?

> I am not quite sure to undertstand what you mean.
>
> The psgi plugin currently does not support mounting multiple applications
> in the same process, so you can route requests to the only loaded app.

Yes, I need to mount multiple applications to the same process :( What
about plans to add this feature?

Is it possible with something like UWSGI_SCRIPT from nginx?

> If you mean having different uwsgi servers/ports, you can use that form:
>
> route = ^/app1 uwsgi:192.168.0.1:3031,5,0
> route = ^/app2 uwsgi:192.168.0.1:3032,5,0
>
> But it would be overkill, the fastrouter is a much better toy for this
> kind of job (it can manages thousand of connection, while with the
> internal routing you are limited by the number of threads/processes)

Can I run multiple uWSGI instances for every psgi application + master
instance by executing something like:

$ ./uwsgi /etc/uwsgi/one-big-configuration-file.ini

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

Reply via email to