title: Django + uWSGI via NGINX on Ubuntu 11.10
body: <p>I'm trying do deploy a django project. I tried a lot of tutorials, but had no luck. I use a new clean Ubuntu 11.10. I've performed</p>
  
  <pre><code>apt-get install nginx
  apt-get install uwsgi
  service nginx start
  </code></pre>
  
  <p>I've created folder <code>/deploy/project1</code> and put there <code>manage.py</code> and other files.</p>
  
  <p>My current <code>/deploy/project1/project1/wsgi.py</code> contains:</p>
  
  <pre><code>import os
  
  os.environ.setdefault("DJANGO_SETTINGS_MODULE", "project1.settings")
  
  from django.core.wsgi import get_wsgi_application
  application = get_wsgi_application()
  </code></pre>
  
  <p>So, could you tell me how to deploy my django app for <code>domain.com</code> properly? </p>
  
  <p>I've also installed Django via pip and easy_install</p>
  
  <p>What should I add in <code>/etc/nginx/sites-enabled/default</code>.</p>