Il giorno 03/mar/2011, alle ore 12.05, Sameer Rahmani ha scritto:

> hi is there any way to server multiple application with one uwsgi
> master 
> 


Hi Sameer, you have a lot of way (and more in current beta release)

dynamic:

http://projects.unbit.it/uwsgi/wiki/VirtualHosting
http://projects.unbit.it/uwsgi/wiki/DynamicVirtualenv
http://projects.unbit.it/uwsgi/wiki/DynamicApps
http://wiki.nginx.org/HttpUwsgiModuleMultipleDynamicApplications

static: (via xml)

<app = "/app1">
    <script>wsgi_app1</script>
</app>

<app = "/app2">
    <script>wsgi_app2</script>
</app>

or with virtualhosting:

<app = "domain1|">
    <script>wsgi_app1</script>
</app>

<app = "domain2">
    <script>wsgi_app2</script>
</app>

In beta version you can use the mount option:

--mount /myapp=app_wsgi --mount /myapp2=app2_wsgi

or in a .ini file

[uwsgi]
mount = /myapp=app_wsgi
mount = /myapp2=app2_wsgi

and so on

--
Roberto De Ioris
http://unbit.it

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

Reply via email to