Report this

What is the reason for this report?

403 Bucket don't show images and Access-Control-Allow-Origin in NGINX

Posted on October 7, 2018

I installed CDN with Space Digital Ocean with Tutorial of Digital Ocean.

But, now my images don’t show in website, in CONSOLE of Chrome, I see this: Failed to load resource: the server responded with a status of 403 (Forbidden)

And in others links, this: blocked by CORS policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource. Origin ‘https://mywebsite ( website example for this ask )’ is therefore not allowed access. (

Please, how I can fix this??



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.

Hi, do you try to add the CORS Configurations?

Dashboard --> Space --> Select your Spacename --> Settings --> CORS Configurations --> Add and you can add your website and select just GET.

Let me know.

Hi sir, I did that but still have some problems of : “net:: ERR_ABORTED 403 (Forbiden)”

I have a Django app with CORS_ORIGIN_ALLOW_ALL = True I have added my website in the CORS Configurations ( http/https). Any hint of how I can solve this ?

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.