Skip to content

Commit

Permalink
Merge pull request #1425 from alphagov/fix_brake_2
Browse files Browse the repository at this point in the history
Remove custom_origin_config where not applicable
  • Loading branch information
rtrinque authored Aug 12, 2024
2 parents 48ec3e3 + b705192 commit 750c457
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions terraform/deployments/chat/cloudfront.tf
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,6 @@ resource "aws_cloudfront_distribution" "chat_distribution" {
domain_name = aws_s3_bucket.origin_service_disabled.bucket_regional_domain_name
origin_access_control_id = aws_cloudfront_origin_access_control.govuk-chat.id
origin_id = aws_s3_bucket.origin_service_disabled.id
custom_origin_config {
http_port = 80
https_port = 443
origin_protocol_policy = "https-only"
origin_ssl_protocols = ["TLSv1.2"]
}
}

enabled = var.cloudfront_enable
Expand Down

0 comments on commit 750c457

Please sign in to comment.