title: No 'Access-Control-Allow-Origin' header is present on the requested resource with Django digitalocean Spaces
body: <p>My Django website is hosting in digitalocean ubuntu 16.04 with Nginx.</p>
  
  <p>I have setup digitalocean CORS Configurations as here <a href="https://www.digitalocean.com/docs/spaces/how-to/cors/" rel="nofollow noreferrer">https://www.digitalocean.com/docs/spaces/how-to/cors/</a> I added my domian name in the 'origin',checked all the options in 'Allowed Methods',the only thing I haven't done is add headers in 'Alowed Headers' because I have no idea what to add.</p>
  
  <p>When I use digitalocean Spaces(a service based on and very similar as Amazon S3) as my static and media file storage.There is <strong>No 'Access-Control-Allow-Origin' header is present on the requested resource</strong> error:</p>
  
  <blockquote>
    <p>Access to Font at '<a href="https://nyc3.digitaloceanspaces.com/kjmgstorage/kjmgstorage/fonts/fontawesome-webfont.woff2?v=4.7.0" rel="nofollow noreferrer">https://nyc3.digitaloceanspaces.com/kjmgstorage/kjmgstorage/fonts/fontawesome-webfont.woff2?v=4.7.0</a>' from origin '<a href="https://kjmg.co" rel="nofollow noreferrer">https://kjmg.co</a>' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin '<a href="https://kjmg.co" rel="nofollow noreferrer">https://kjmg.co</a>' is therefore not allowed access.</p>
  </blockquote>
  
  <p>I tried to use django-cors-headers,but I received:</p>
  
  <blockquote>
    <p>502 Bad Gateway nginx/1.10.3 (Ubuntu)  </p>
  </blockquote>
  
  <p>So had to uninstalled it.</p>
  
  <p>Any friend have any idea?Thank you so much!</p>