Skip to content

Instantly share code, notes, and snippets.

@DoguD
Created June 6, 2020 20:01
Show Gist options
  • Save DoguD/15813317e692d0dfe13292b5c281afaa to your computer and use it in GitHub Desktop.
Save DoguD/15813317e692d0dfe13292b5c281afaa to your computer and use it in GitHub Desktop.
CORS Configuration for S3 Presigned URL file upload
<?xml version="1.0" encoding="UTF-8"?>
<CORSConfiguration xmlns="http://s3.amazonaws.com/doc/2006-03-01/">
<CORSRule>
<AllowedOrigin>*</AllowedOrigin>
<AllowedMethod>HEAD</AllowedMethod>
<AllowedMethod>GET</AllowedMethod>
<AllowedMethod>PUT</AllowedMethod>
<AllowedMethod>POST</AllowedMethod>
<AllowedHeader>*</AllowedHeader>
</CORSRule>
</CORSConfiguration>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment