You can use nxinx with uwsgi even with several domain names, nginx takes care of that, you just run several uwsgi/gunicorn processes on different tcp ports or unix sockets, and nginx will just select the one that fits for its domain name (set in config) of course you need to set it properly..

Anyways, when you want to host multiple python sites with nginx/something, I'd recommend uwsgi with supervisor .. which will help you manage the apps really easy ... of course you can use gunicorn instead of uwsgi ... it is up to you ...

So I will go for : nginx + uwsgi + supervisor + django !

Ok everything runs fine now ! Except :..

If I well understood uwsgi is supposed to update every code changes so
that I don't need to restart the all bundle but it still does not work : I do
need to restart everything ? Actually I need to kill all processes first and
after restart everything ?

/debian squeeze + nginx 1.2.1 (extra package) + uwsgi 1.9.18.1 +
supervisor 3.0a.8/

--
“One original thought is worth a thousand mindless quotings.”
“Le vrai n'est pas plus sûr que le probable.”

                                              Diogene Laerce

--
You received this message because you are subscribed to the Google Groups "Django 
users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/525E301D.4000108%40yahoo.fr.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to