Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I am going to start using virtualenv for the first time. If I am going to have multiple environments with a django project in each, do I have 1 nginx instance running and have each domain point to the socket of a uwsgi instance running with a -H env parameter? Such that I would have 1 nginx instance running and multiple (1 for each environment) uwsgi instances?

share|improve this question

1 Answer 1

up vote 1 down vote accepted

Yes, 1 nginx instance and multiple (1 for each environment) uwsgi instances running. If you want separate virtualenv's for each project, of course.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.