[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
12/14: cdn: Allow clients to use both HTTP and HTTPS.
From: |
Chris Marusich |
Subject: |
12/14: cdn: Allow clients to use both HTTP and HTTPS. |
Date: |
Sat, 29 Dec 2018 02:04:55 -0500 (EST) |
marusich pushed a commit to branch master
in repository maintenance.
commit ddc2420c6f921c03d448c29e2e8da9210a69c1c0
Author: Chris Marusich <address@hidden>
Date: Fri Dec 28 21:27:23 2018 -0800
cdn: Allow clients to use both HTTP and HTTPS.
* cdn/terraform/main.tf (berlin-mirror) <viewer_protocol_policy>:
Change to "allow-all".
---
cdn/terraform/main.tf | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/cdn/terraform/main.tf b/cdn/terraform/main.tf
index 00b5f55..e249437 100644
--- a/cdn/terraform/main.tf
+++ b/cdn/terraform/main.tf
@@ -229,7 +229,10 @@ resource "aws_cloudfront_distribution" "berlin-mirror" {
max_ttl = 31536000 # 365 days
min_ttl = 0
target_origin_id = "berlin.guixsd.org"
- viewer_protocol_policy = "https-only"
+ # Before ci.guix.info pointed to this distribution, it allowed
+ # both HTTP and HTTPS. We choose to maintain that policy here.
+ # In the future, we should consider changing this to "https-only".
+ viewer_protocol_policy = "allow-all"
}
# TODO: Maybe add more behaviors for specific paths/prefixes.
# ordered_cache_behavior {}
- branch master updated (777e9e1 -> 5b68c2f), Chris Marusich, 2018/12/29
- 14/14: cdn: Add an example command to the README.org., Chris Marusich, 2018/12/29
- 11/14: cdn: Provision a TLS certificate for ci.guix.info., Chris Marusich, 2018/12/29
- 07/14: cdn: Use Terraform's S3 backend., Chris Marusich, 2018/12/29
- 13/14: cdn: Add billing alarms., Chris Marusich, 2018/12/29
- 10/14: cdn: Switch default region to us-east-1., Chris Marusich, 2018/12/29
- 08/14: cdn: Add a lifecycle policy to the state bucket., Chris Marusich, 2018/12/29
- 06/14: cdn: Add an S3 bucket to hold Terraform state., Chris Marusich, 2018/12/29
- 12/14: cdn: Allow clients to use both HTTP and HTTPS.,
Chris Marusich <=
- 04/14: cdn: Do not hard-code the profile name., Chris Marusich, 2018/12/29
- 02/14: cdn: Give Ludo and Ricardo administrative access., Chris Marusich, 2018/12/29
- 05/14: cdn: Add a CloudFront distribution fronting berlin., Chris Marusich, 2018/12/29
- 03/14: cdn: Add thoughts about next steps to README., Chris Marusich, 2018/12/29
- 01/14: cdn: Initial commit of Terraform configuration., Chris Marusich, 2018/12/29
- 09/14: cdn: Add a basic deployment plan to the README.org, Chris Marusich, 2018/12/29