Skip to content

Commit

Permalink
set custom origin header
Browse files Browse the repository at this point in the history
  • Loading branch information
syphar committed Dec 9, 2023
1 parent b0490a6 commit f22987e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions terraform/docs-rs/cloudfront.tf
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,11 @@ resource "aws_cloudfront_distribution" "webapp" {
origin_protocol_policy = "http-only"
origin_ssl_protocols = ["TLSv1.2"]
}

custom_header {
name = "X-Origin-Auth"
value = "some_secret_value"
}
}

restrictions {
Expand Down

0 comments on commit f22987e

Please sign in to comment.