Pierre is experiencing 403 errors when using Digital Ocean’s CDN with Discourse, despite successfully connecting Discourse to Digital Ocean Spaces. He references a closed thread where others also faced similar issues, particularly with CORS and incorrect headers. pfaffman suggests the CDN is problematic due to incorrect headers, not forbidden responses, and mentions that the issue was resolved by adding s3:upload assets to app.yml and configuring S3 via environment variables pfaffman. Pierre acknowledges the complexity and plans a clean install to troubleshoot further Pierre.
and there’s an option within the ‘do spaces settings’ to enable cdn. After enabling and visiting Discourse I see many 403 errors pointing to the following urls
To be honest I’m not even sure if things are working correctly. I’ve been struggling with different configurations and there have been many changes trying to get Discorse to work with Digital Ocean Spaces. I will need to do a clean install.
Sorry. I may not have paid close enough attention to your specifics.
The problem that I believe I had in that topic, which cost me 17 hours of down time for a high priority client during my vacation, is solved by adding the s3:upload assets to the app.yml.,and, I think, using the env variables to configure the S3 stuff. Did you do that?