Skip to content

Commit

Permalink
Merge pull request #354 from syphar/docsrs-referer-header
Browse files Browse the repository at this point in the history
also forward referer header to docs.rs servers
  • Loading branch information
jdno authored Jul 17, 2024
2 parents d37c275 + 6c0e521 commit 57c6933
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 57c6933

Please sign in to comment.