Report this

What is the reason for this report?

Unstable CORS policy issue on digital ocean space

Posted on May 10, 2019

I had used digital ocean space quite sometime. I add cors policy advanced option with my domain name with https. However, most of the time, the images or documents show. But sometimes, it doesn’t show and error occurred, need to refresh the page in order to work.

My Cors Options Origin: https://*.website.com

Allowed Methods: GET, PUT, DELETE, POST

Allowed Headers: *

Access Control Max Age: 10000000

Error: Access to image at CDN SGP1 URL from origin https://panel.website.com has been blocked by CORS policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource.



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Still looking for an answer here…

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.