Skip to content

Commit

Permalink
Enable HTTP/3 support on Cloudfront
Browse files Browse the repository at this point in the history
  • Loading branch information
aran112000 authored Apr 21, 2023
1 parent 329c8b4 commit 61fe43a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/constructs/aws/ServerSideWebsite.ts
Original file line number Diff line number Diff line change
Expand Up @@ -153,8 +153,8 @@ export class ServerSideWebsite extends AwsConstruct {
// All the assets paths are created in there
additionalBehaviors: this.createCacheBehaviors(this.bucket),
errorResponses: this.createErrorResponses(),
// Enable http2 transfer for better performances
httpVersion: HttpVersion.HTTP2,
// Enable http2 & http3 transfer for better performances
httpVersion: HttpVersion.HTTP2_AND_3,
certificate: certificate,
domainNames: this.domains,
});
Expand Down

0 comments on commit 61fe43a

Please sign in to comment.