Skip to content

Commit 55a09e6

Browse files
sypharMark-Simulacrum
authored andcommitted
set custom origin header
1 parent b0490a6 commit 55a09e6

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

terraform/docs-rs/cloudfront.tf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,11 @@ resource "aws_cloudfront_distribution" "webapp" {
104104
origin_protocol_policy = "http-only"
105105
origin_ssl_protocols = ["TLSv1.2"]
106106
}
107+
108+
custom_header {
109+
name = "X-Origin-Auth"
110+
value = "some_secret_value"
111+
}
107112
}
108113

109114
restrictions {

0 commit comments

Comments
 (0)