Created
October 25, 2016 19:42
-
-
Save nathanbowser/e1878b187778840d5096df7ee3bad718 to your computer and use it in GitHub Desktop.
This file contains 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://www.foobar.com -> https://foobar.com | |
https://foobar.com -> https://foobar.com | |
http://foobar.com -> https://foobar.com | |
http://www.foobar.com -> https://foobar.com | |
Two buckets: | |
foobar.com -> Static site hosting | |
www.foobar.com -> Static site hosting with generic redirect to foobar.com | |
Two CDN Distributions: | |
foobar.com distribution -> Force HTTP to HTTPs redirect; Force HTTP on origin; Point to static website url on foobar.com bucket | |
www.foobar.com distribution -> Force HTTP to HTTPs redirect; Force HTTP on origin; Point to static website url on www.foobar.com bucket | |
Route 53: | |
Alias foobar.com to foobar.com cdn distro | |
Alias www.foobar.com to www.foobar.com cdn distro | |
Do 15 jumping jacks and touch your toes 3 times. | |
Refresh. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment