> Thank you for the reply. The only advantage is that most of the code
> between the apps is shared. Would virtual hosting pose any benefits (for
> everyones ref: http://projects.unbit.it/uwsgi/wiki/VirtualHosting)
>
> I guess with your technique I could make the shared code into a module of
> some sort and apply across the board.
virtualhosting is an abstraction of multiple interpreters + internal routing
(historically has been added to allow compatibility with mod_wsgi
non-daemon mode).
Now you can make simpler setups (without botherign with nginx):
[uwsgi]
http-socket = :9090
; mount various apps in the same process
mount = domain1.com=yourapp.wsgi
mount = domain2.com=yoursecondapp.wsgi
; route to the specific app
route-run = setapp:${HTTP_HOST}
--
Roberto De Ioris
http://unbit.it
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi