title: Requested URL not founds (Django Nginx Gunicorn)
body: <p>I get the following error when trying to access any url besides the root url: </p>
  
  <pre><code>Not Found
  
  The requested URL /groups/test/ was not found on this server.
  </code></pre>
  
  <p>I think the problem might be in one of the following:</p>
  
  <p>urls.py:</p>
  
  <pre><code>from django.conf.urls import include, url
  from django.contrib import admin
  
  from groups import views
  
  urlpatterns = [
      # Examples:
      url(r'^$', views.home_page, name='home'),
      url(r'^groups/(.+)/$', views.view_group, name='view_group')
  ]
  </code></pre>
  
  <p>nginx.conf template:</p>
  
  <pre><code>server {
      listen 80;
      server_name SITENAME;
  
      location /static {
          alias /home/ghust1995/sites/SITENAME/static;
      }
  
      location / {
          proxy_set_header Host $http_host;
          proxy_set_header X-Real-IP $remote_addr;
          proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
          proxy_set_header X-Forwarded-Proto $scheme;
          proxy_pass http://unix:/tmp/SITENAME.socket;
      }
  }
  </code></pre>
  
  <p>How should this be fixed?</p>
  
  <p>edit:</p>
  
  <p>gunicorn-upstart template:</p>
  
  <pre><code>description "Gunicorn server for SITENAME"
  
  start on net-device-up
  stop on shutdown
  
  respawn
  
  setuid ghust1995
  chdir /home/ghust1995/sites/SITENAME/source
  
  exec ../virtualenv/bin/gunicorn --bind unix:/tmp/SITENAME.socket itagroups.wsgi:application
  </code></pre>