Skip to content

Instantly share code, notes, and snippets.

@matey-jack
Last active May 24, 2019 16:01
Show Gist options
  • Save matey-jack/fb8c9c29eed8188af883e33f29a50a35 to your computer and use it in GitHub Desktop.
Save matey-jack/fb8c9c29eed8188af883e33f29a50a35 to your computer and use it in GitHub Desktop.
S3-Website with CDN and Custom Domain via Terraform
[{
"Condition": {
"HttpErrorCodeReturnedEquals": "404"
},
"Redirect": {
"Protocol": "https",
"ReplaceKeyWith": "docs/"
}
}]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment