Add Host header to Hubs Cloud CloudFront behavior to fix upload requests

This commit is contained in:
Brian Peiris 2021-11-26 15:43:48 -05:00
Родитель 954bb431cc
Коммит e3e9ca37fe
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -3127,7 +3127,7 @@ Resources:
TargetOriginId: !Sub "${AWS::StackName}-app"
ForwardedValues:
QueryString: true
Headers: ["Origin", "Content-Type", "Authorization", "Access-Control-Request-Method", "Access-Control-Request-Headers", "Accept", "Range"]
Headers: ["Origin", "Content-Type", "Host", "Authorization", "Access-Control-Request-Method", "Access-Control-Request-Headers", "Accept", "Range"]
Cookies:
Forward: none
ViewerProtocolPolicy: https-only