Trying Directus (with Pikapods) first time as self hosted for a 2 upcoming projects.
My question is about CDN (r2 + custom domain) is there a way to integrate any of the CDN services in self hosted? I have already configured the S3 Storage - However serving the assets through CDN backed / S3 domain doesnt seem possible and all assets still use directus URL. is there a way for this?
Thanks
1 Answer
1What exactly is the issue? In what way is serving them through S3 not possible? If the files are stored in the bucket correctly and are not accessible, that would be an issue on the end of the bucket, not Directus?
Also, it is important to note that serving the files externally is highly discouraged, as it completely removes your ability to manage permissions or to use transformations.
I can’t find the exact page anymore, but I remember it actively being discouraged in the docs in some place.