Created
April 21, 2023 09:28
-
-
Save mmyoji/1ed2d01b558b4d8078d32e8af908f172 to your computer and use it in GitHub Desktop.
Path based routing w/ CloudFront to S3/ALB
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-web-values-specify.html#DownloadDistValuesPathPattern | |
# maybe settings are like the following: | |
- OriginSettings: | |
- OriginDomain: MY-EXAMPLE-BUCKET.s3.ap-northeast-1.amazonaws.com | |
OriginPath: /static | |
- OriginDomain: example-load-balancer-1234567890.ap-northeast-1.alb.amazonaws.com | |
OriginPath: * |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment