Skip to content

Instantly share code, notes, and snippets.

@sushant12
Created July 1, 2019 02:39
Show Gist options
  • Save sushant12/940f9daf6b5d67500913c9f1ff17d220 to your computer and use it in GitHub Desktop.
Save sushant12/940f9daf6b5d67500913c9f1ff17d220 to your computer and use it in GitHub Desktop.
S3 cors enable
<?xml version="1.0" encoding="UTF-8"?>
<CORSConfiguration xmlns="http://s3.amazonaws.com/doc/2006-03-01/">
<CORSRule>
<AllowedOrigin>*</AllowedOrigin>
<AllowedMethod>GET</AllowedMethod>
<AllowedMethod>HEAD</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