Skip to content

Commit

Permalink
also forward referer header to docs.rs servers
Browse files Browse the repository at this point in the history
  • Loading branch information
syphar committed Oct 19, 2023
1 parent 2f5a825 commit eb46894
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion terraform/docs-rs/cloudfront.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
}
}

Expand Down

0 comments on commit eb46894

Please sign in to comment.