Last active
December 11, 2015 09:58
-
-
Save kylefox/4582967 to your computer and use it in GitHub Desktop.
Example CORS configuration for allowing direct uploads to Amazon S3.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<CORSRule> | |
<AllowedOrigin>*</AllowedOrigin> | |
<AllowedMethod>PUT</AllowedMethod> | |
<AllowedMethod>POST</AllowedMethod> | |
<AllowedMethod>DELETE</AllowedMethod> | |
<AllowedHeader>*</AllowedHeader> | |
<MaxAgeSeconds>3000</MaxAgeSeconds> | |
</CORSRule> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Read more in the AWS Documentation: Enabling Cross-Origin Resource Sharing