Skip to content

Commit

Permalink
pass auth header to static/* cache
Browse files Browse the repository at this point in the history
  • Loading branch information
awdem committed Dec 10, 2024
1 parent f2c9055 commit 3ed480a
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,14 @@ Resources:
TargetOriginId: Dynamic
Compress: true
ViewerProtocolPolicy: "redirect-to-https"
CachePolicyId: 658327ea-f89d-4fab-a63d-7e88639e58f6
ForwardedValues:
QueryString: true
Cookies:
Forward: none
Headers:
- Authorization
- Origin
MinTTL: '50'
- AllowedMethods: [ GET, HEAD, OPTIONS ]
PathPattern: /i-am-a/voter/your-election-information
TargetOriginId: StaticPagesOriginGroup
Expand Down

0 comments on commit 3ed480a

Please sign in to comment.