From eb46894c40590750d0eb0ba5dfb9a295b5c89486 Mon Sep 17 00:00:00 2001 From: Denis Cornehl Date: Thu, 19 Oct 2023 20:05:20 +0200 Subject: [PATCH] also forward referer header to docs.rs servers --- terraform/docs-rs/cloudfront.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/terraform/docs-rs/cloudfront.tf b/terraform/docs-rs/cloudfront.tf index c2b3f4bba..8f16a0bcf 100644 --- a/terraform/docs-rs/cloudfront.tf +++ b/terraform/docs-rs/cloudfront.tf @@ -54,7 +54,7 @@ resource "aws_cloudfront_origin_request_policy" "docs_rs" { headers_config { header_behavior = "whitelist" headers { - items = ["User-Agent"] + items = ["User-Agent", "Referer"] } }