Full site CDN acceleration for Discourse

Hi,
I posted my question in another thread Full Site CDN Using AWS CloudFront - #2 by Hyan. I did the same config and leave #DISCOURSE_CDN_URL: https://discourse-cdn.example.com unchanged. Can I set this to the same URL of the website? For example, http://forum.example.com. Otherwise, there’re assets URL in relative path without domain name.
Appreciated if @sam or @pfaffman give a hint.