Skip to content

Commit 9640871

Browse files
Update cloudfront.tf
1 parent ce37ffd commit 9640871

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cloudfront.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ resource "aws_cloudfront_distribution" "this" {
3131
}
3232
}
3333

34-
viewer_protocol_policy = "allow-all"
34+
viewer_protocol_policy = "redirect-to-https"
3535
min_ttl = 0
3636
default_ttl = 300
3737
max_ttl = 1200
@@ -50,4 +50,4 @@ resource "aws_cloudfront_distribution" "this" {
5050
minimum_protocol_version = "TLSv1.1_2016"
5151

5252
}
53-
}
53+
}

0 commit comments

Comments
 (0)