Skip to content

Commit e7a9b58

Browse files
authored
Enable HTTP 2 and 3
1 parent 551ce57 commit e7a9b58

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

cloudformation/main.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -678,6 +678,7 @@ Resources:
678678
Type: AWS::CloudFront::Distribution
679679
Properties:
680680
DistributionConfig:
681+
HttpVersion: 'http2and3'
681682
Origins:
682683
- Id: S3WebsiteOrigin
683684
DomainName: !GetAtt AppFrontendS3Bucket.RegionalDomainName
@@ -860,6 +861,7 @@ Resources:
860861
Type: AWS::CloudFront::Distribution
861862
Properties:
862863
DistributionConfig:
864+
HttpVersion: 'http2and3'
863865
Origins:
864866
- Id: ApiGatewayOrigin
865867
DomainName: !Sub "${AppApiGateway}.execute-api.${AWS::Region}.amazonaws.com"
@@ -962,6 +964,7 @@ Resources:
962964
Type: AWS::CloudFront::Distribution
963965
Properties:
964966
DistributionConfig:
967+
HttpVersion: 'http2and3'
965968
Enabled: true
966969
DefaultCacheBehavior:
967970
ViewerProtocolPolicy: redirect-to-https

0 commit comments

Comments
 (0)