Skip to content

Commit

Permalink
update response header policy
Browse files Browse the repository at this point in the history
  • Loading branch information
eesa456 committed Aug 23, 2023
1 parent db95da3 commit cd9f713
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions modules/opennext-cloudfront/cloudfront.tf
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,15 @@ resource "aws_cloudfront_response_headers_policy" "response_headers_policy" {
}
}
}
remove_headers_config{
items{
header = "Server"
}

items{
header = "X-Opennext"
}
}
}

resource "aws_cloudfront_distribution" "distribution" {
Expand Down

0 comments on commit cd9f713

Please sign in to comment.