Skip to content

Instantly share code, notes, and snippets.

@peteroome
Created January 16, 2013 08:45
Show Gist options
  • Save peteroome/4545600 to your computer and use it in GitHub Desktop.
Save peteroome/4545600 to your computer and use it in GitHub Desktop.
Access-Control-Allow-Origin Configuration on Amazon S3 to load Font Awesome from Rails app on Heroku.
<?xml version="1.0" encoding="UTF-8"?>
<CORSConfiguration xmlns="http://s3.amazonaws.com/doc/2006-03-01/">
<CORSRule>
<AllowedOrigin>http://mydomain.com</AllowedOrigin>
<AllowedMethod>GET</AllowedMethod>
<MaxAgeSeconds>3000</MaxAgeSeconds>
<AllowedHeader>Authorization</AllowedHeader>
</CORSRule>
</CORSConfiguration>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment