Skip to content

Commit

Permalink
enabled HTTP2.0 and worldwide distribution
Browse files Browse the repository at this point in the history
  • Loading branch information
sergej-brazdeikis committed Apr 9, 2017
1 parent 83dc3ff commit a439703
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 5 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@ Building parts:
- AWS Route53
- AWS Cloudformation

Features:
- Cloudfront
-- HTTP 2.0 enabled
-- IPv6 enabled
- Worldwide distribution

## How to

- Apply `route53-zone.yaml` for the domain.
Expand Down
11 changes: 6 additions & 5 deletions s3-static-website-with-cloudfront-and-route-53.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -74,22 +74,23 @@ Resources:
HTTPPort: '80'
HTTPSPort: '443'
OriginProtocolPolicy: http-only
Enabled: 'true'
Enabled: true
HttpVersion: 'http2'
DefaultRootObject: index.html
Aliases:
- !Ref 'FullDomainName'
DefaultCacheBehavior:
AllowedMethods:
- GET
- HEAD
Compress: 'true'
Compress: true
TargetOriginId: S3Origin
ForwardedValues:
QueryString: 'true'
QueryString: true
Cookies:
Forward: none
ViewerProtocolPolicy: allow-all
PriceClass: PriceClass_200
ViewerProtocolPolicy: https-only
PriceClass: PriceClass_All
ViewerCertificate:
CloudFrontDefaultCertificate: 'true'
WebsiteDNSName:
Expand Down

0 comments on commit a439703

Please sign in to comment.