Easily configure a performant, secure, and stable NGINX server.Learn More
Nginx (403) Forbidding some static files from DO Spaces Django.
I am using Nginx with Django. All configuration are made according to docs provided by DO and everything works fines except I am getting following Error for some of my static files served through DO spaces. When I’m making those files ‘Public’ the error goes away from DO spaces dashboard. I am confused that some files having permission 'private’ are loading and some have to made 'public’. Example files in tinymce folder have to be made 'public’ or files which are in vendor folder.
Error in my Console:
GET https://sgp1.digitaloceanspacenet: spaces/static/tinymce/js/tinymce/plugins/textcolor/plugin.min.js :ERR_ABORTED 403 (Forbidden)
Is there any way to give permission to those files without making them 'public’? or if not any way to make them 'public’ all at once?