We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1c20ac8 commit b3eda93Copy full SHA for b3eda93
terraform/crates-io/impl/cloudfront-webapp.tf
@@ -128,6 +128,8 @@ resource "aws_route53_record" "webapp_apex" {
128
}
129
130
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
133
resource "aws_cloudfront_response_headers_policy" "webapp" {
134
count = var.strict_security_headers ? 1 : 0
135
0 commit comments