How do I set up Amazon S3 CORS so that Firefox loads remote websites?

I am trying to configure Amazon S3 as a webfont file host to use webfonts in Tumblr.

Amazon's CORS configuration is great for everything except Firefox, which is exactly the same situation before Amazon includes this new CORS feature in S3.

<?xml version="1.0" encoding="UTF-8"?> <CORSConfiguration xmlns="http://s3.amazonaws.com/doc/2006-03-01/"> <CORSRule> <AllowedOrigin>http://fonttester.tumblr.com/</AllowedOrigin> <AllowedMethod>GET</AllowedMethod> <MaxAgeSeconds>3000</MaxAgeSeconds> <AllowedHeader>Authorization</AllowedHeader> </CORSRule> </CORSConfiguration> 

Is there any other configuration I should use?

+8
firefox cors amazon-s3 webfonts
source share
1 answer

You should add below

 <CORSRule> <AllowedOrigin>*</AllowedOrigin> <AllowedMethod>GET</AllowedMethod> <MaxAgeSeconds>3000</MaxAgeSeconds> <AllowedHeader>*</AllowedHeader> </CORSRule> 
+3
source share

All Articles