Could the s3 cdn url address be the same as DISCOURSE_CDN_URL

I’m not sure if I should set the same address in setting up for the pictures or create a new one ?

for example cdn.example.com in app.yml and also cdn.example.com as s3 cdn adress in settings ?

They are different. One gets data from your S3 bucket. One gets data from you discourse server.

1 Like

but I’m still not sure. Am I supposed to create a new distribution for S3 bucket in this way ?
Screenshot from 2020-03-14 11-31-30

Have a read of this Defining DISCOURSE_S3_CDN_URL links to assets in S3 CDN URL

3 Likes