CSS Fonts missing – No Access-Control-Allow-Origin header
-
Not sure how to fix this, found many solutions online, but nothing has worked so far. I think there are a million configurations out there it would be hard to find, but maybe someone has the same setup and can provide some info?
Font from origin 'https://cdn.mydomain.com' has been blocked from loading by Cross-Origin Resource Sharing policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'https://mydomain.com' is therefore not allowed access.
I have WordPress with W3TC using Amazon Cloudfront Origin Pull/Mirror for CDN. Site is on an NGINX server.
I’m not sure if I need to edit a setting in W3TC, NGINX config or in Amazon CloudFront.
- The topic ‘CSS Fonts missing – No Access-Control-Allow-Origin header’ is closed to new replies.