For those who are using Discourse and are looking to integrate with KeyCDN, here is a quick step-by-step set up guide.
Create a Pull Zone within the KeyCDN dashboard and enter the origin url of your Discourse instance.
If you want to use a custom CDN url (e.g
cdn-discourse.yourdomain.com) you must create a zonealias. Otherwise, you can use the zone url provided by KeyCDN which will look similar to:
Update your app.yml file by uncommenting the CDN line and adding your custom CDN or zone url:
## the origin pull CDN address for this Discourse instance DISCOURSE_CDN_URL: //discourse-cdn.yourdomain.com
Rebuild your Docker container:
./launcher rebuild app
Finally, double check your Page Source to verify that the urls have been modified and reflect the CDN url you have specified in step 4.