Skip to content

Commit 10f769c

Browse files
Update cloudfront.tf
1 parent 0e81e4d commit 10f769c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cloudfront.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ resource "aws_cloudfront_distribution" "this" {
3535
}
3636
}
3737

38-
viewer_protocol_policy = "allow-all"
38+
viewer_protocol_policy = "redirect-to-https"
3939
min_ttl = 0
4040
default_ttl = 300
4141
max_ttl = 1200

0 commit comments

Comments
 (0)