Skip to content

Instantly share code, notes, and snippets.

@jperl
Created November 2, 2014 16:35
Show Gist options
  • Save jperl/f300483537968d636a0b to your computer and use it in GitHub Desktop.
Save jperl/f300483537968d636a0b to your computer and use it in GitHub Desktop.
CORS configuration for AWS
<?xml version="1.0" encoding="UTF-8"?>
<CORSConfiguration xmlns="http://s3.amazonaws.com/doc/2006-03-01/">
<CORSRule>
<AllowedOrigin>*</AllowedOrigin>
<AllowedMethod>PUT</AllowedMethod>
<AllowedMethod>POST</AllowedMethod>
<AllowedMethod>GET</AllowedMethod>
<AllowedMethod>HEAD</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