title: Nginx and saleor configuration problems (Blocked by CORS policy)
body: <p>I am new to saleor.io which is an open source platform for e commerce apps and nginx. This saleor has three modules:</p>
  <ol>
  <li>Saleor core (Django project, communicate with saleor store and saleor dashboard via graphql api's, connected to postgresql, Running on 192.168.0.102/grapghql/)</li>
  <li>Saleor dashboard (Node project, containing javascript, type script files, Running on 192.168.0.102:70)</li>
  <li>Saleor Store (Node project, containing javascript, type script files)</li>
  </ol>
  <p>I am running these three modules on nginx and UI shows perfectly for each module.But when i try to login through dashboard i got this CORS error:</p>
  <p><a href="https://i.stack.imgur.com/Kx81h.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Kx81h.png" alt="CORS Error" /></a></p>
  <p><strong>This is my nginx configuration file for saleor core:</strong></p>
  <pre><code>upstream django {
       server unix:///home/umair/PythonDjangoProjects/GitSaleor/mysite.sock fail_timeout=9000; # for a file socket
     # server 192.168.0.102:80; # for a web port socket (we'll use this first)
  }
  
  # configuration of the server
  server {
      # the port your site will be served on
      listen      80;
      # the domain name it will serve for
      server_name 192.168.0.102; # substitute your machine's IP address or FQDN
      charset     utf-8;
  
      # max upload size
      client_max_body_size 75M;   # adjust to taste
  
      # Django media
      location /media  {
           alias /home/umair/PythonDjangoProjects/GitSaleor/media;  # your Django project's media files - amend as required
      }
  
      location /static {
          alias /home/umair/PythonDjangoProjects/GitSaleor/static; # your Django project's static files - amend as required
      }
  
      # Finally, send all non-media requests to the Django server.
      location / {
  
       uwsgi_pass  django;
          include     /home/umair/PythonDjangoProjects/GitSaleor/uwsgi_params;  # the uwsgi_params file you installed
   
  </code></pre>
  <p>}
  }</p>
  <p><strong>This is my nginx configuration file for saleor dashboard:</strong></p>
  <pre><code>server {
      listen 70;
      listen [::]:70;
      root /var/www/html/dashboard;
      index index.html;
      server_name 192.168.0.102;
      location / {
  try_files $uri $uri/ /index.html?$args;
      }
  
  }
  </code></pre>
  <p>How can i resolve this error?. Am i missing any thing in configuration.</p>