Skip to content

Commit

Permalink
Redirect 4xx to index page
Browse files Browse the repository at this point in the history
  • Loading branch information
ImDevinC committed Dec 10, 2023
1 parent 6d1551d commit bf597d4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions terraform/cloudfront.tf
Expand Up @@ -37,12 +37,12 @@ module "cloudfront" {
{
error_code = 404
response_code = 404
response_page_path = "/404.html"
response_page_path = "/index.html"
},
{
error_code = 403
response_code = 404
response_page_path = "/404.html"
response_page_path = "/index.html"
}
]
viewer_certificate = {
Expand Down

0 comments on commit bf597d4

Please sign in to comment.