Magento 2 .Woff blocked by CORS policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource

Have a Magento 2.3 on Nginx. Trying to set up Cloudfront for /pub/static/ on subdomain like https://static.mydomain.com. Base URL for Static View Files is https://static.mydomain.com. Getting error for all files .woff: Access to font at has been blocked by CORS policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource. Get net::ERR_FAILED Ngnix magento settings…

Details