Skip to content

Commit b3eda93

Browse files
committed
Link to issue that requested HSTS headers
1 parent 1c20ac8 commit b3eda93

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

terraform/crates-io/impl/cloudfront-webapp.tf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,8 @@ resource "aws_route53_record" "webapp_apex" {
128128
}
129129
}
130130

131+
# Set strict-transport-security headers for crates.io and its subdomains
132+
# See https://github.com/rust-lang/crates.io/issues/5332 for details
131133
resource "aws_cloudfront_response_headers_policy" "webapp" {
132134
count = var.strict_security_headers ? 1 : 0
133135

0 commit comments

Comments
 (0)