Skip to content

Instantly share code, notes, and snippets.

@mribica
Created February 27, 2013 11:05
Show Gist options
  • Save mribica/5047147 to your computer and use it in GitHub Desktop.
Save mribica/5047147 to your computer and use it in GitHub Desktop.
CORS configuration for Amazon S3 bucket direct upload
<CORSConfiguration>
<CORSRule>
<AllowedOrigin>http://localhost:3000</AllowedOrigin>
<AllowedMethod>GET</AllowedMethod>
<AllowedMethod>POST</AllowedMethod>
<AllowedMethod>PUT</AllowedMethod>
<MaxAgeSeconds>3000</MaxAgeSeconds>
<AllowedHeader>*</AllowedHeader>
</CORSRule>
</CORSConfiguration>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment