Skip to content

Instantly share code, notes, and snippets.

@geekle
Created July 24, 2013 02:36
Show Gist options
  • Save geekle/6067695 to your computer and use it in GitHub Desktop.
Save geekle/6067695 to your computer and use it in GitHub Desktop.
S3 CORS Rules for Custom Fonts in Firefox
  1. Add the CORS Rules to your S3 Bucket
  2. Invalidate the custom fonts in Cloudfront, or wait until the cache expires.
<CORSConfiguration>
<CORSRule>
<AllowedOrigin>http://www.example.com</AllowedOrigin>
<AllowedMethod>GET</AllowedMethod>
<MaxAgeSeconds>3000</MaxAgeSeconds>
<AllowedHeader>Content-*</AllowedHeader>
<AllowedHeader>Host</AllowedHeader>
</CORSRule>
</CORSConfiguration>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment