I have my Discourse instance set up since 2019 on a DigitalOcean server, configured so traffic goes through Cloudflare. Today I migrated my uploads and backups to S3, and after completing the migration I saw this warning on my Admin dashboard:
Some advice based on your current site settings
- The server is configured to upload files to S3, but there is no S3 CDN configured. This can lead to expensive S3 costs and slower site performance. See “Using Object Storage for Uploads” to learn more.
Discourse doesn’t know that Cloudflare is routing traffic to it, so it makes sense that this warning appears. But given that I’m on the free tier of Cloudflare and that it still provides some degree of caching, is it still recommended for me to configure a CDN? If so, what additional steps do I need to take to properly configure DISCOURSE_CDN_URL
? What value should I set that env variable to?
Thanks in advance.