Subpath on S3 CDN URL


#1

Is there a reason the S3 CDN URL settings doesn’t allow paths on it? Whenever I try and add a subpath (ie https://cdn.example.com/some_path) I get an error and have to use https://cdn.example.com.

CDNs like Cloudfront allow you to retrieve data from multuple backends and I’d like to have my CDN URL for S3 on something like https://my-cdn.example.com/s3/<assets in here>

Never mind, you can totally do this but it breaks S3 integration since you can’t configure Discourse to put the files into a sub directory. Yet to check whether you can do rewrites in cloudfront to solve this.