title: django/nginx does not display media in production
body: <p>When I make settings Debug = True,then all images are displayed. If Debug = False does not show.</p>
  <p>settings.py</p>
  <pre><code>STATIC_URL = '/static/'
  STATIC_ROOT = os.path.join(BASE_DIR, 'static/')
  
  MEDIA_URL = '/media/'
  MEDIA_ROOT = os.path.join(BASE_DIR, 'media')
  </code></pre>
  <p>/etc/nginx/sites-available/</p>
  <pre><code>location = /favicon.ico { access_log off; log_not_found off; }
  location /static/ {
      root /home/user/myprojectdir;
  }
  
  location = /media/ {
      root /home/user/myprojectdir;
  }
  </code></pre>
  <p>Static and media folders are located in the root directory of the project
  myprojectdir/static
  myprojectdir/media</p>
  <p>I use nginx+gunicorn,how do i get nginx to serve the media with Debug = False ?Thank you in advance!</p>