I am facing an issue where font files are not loading properly due to a CORS error. I have recently set up CloudFront CDN with my WordPress site hosted on a server running Nginx with Hestia.
The issue is that when CloudFront caches the font files, they are not loading correctly and I receive a CORS missing Access-Control-Allow-Origin
header error in the browser console. However, when I bypass the CDN and access the font files directly from the server, they load fine.