CDN integration in discourse

I need to use the CDN URL for discourse images and files.
Is it possible to integrate CDN with discourse?

It helps if you search for “cdn discourse” first

https://meta.discourse.org/search?q=cdn%20discourse