Created
June 2, 2018 23:02
-
-
Save josephabrahams/8f833f060223b4447c8ee46bde3b2568 to your computer and use it in GitHub Desktop.
Redirect all requests from S3 bucket to another domain and strip the path.
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
<RoutingRules> | |
<RoutingRule> | |
<Redirect> | |
<HostName>example.com</HostName> | |
<HttpRedirectCode>301</HttpRedirectCode> | |
<Protocol>https</Protocol> | |
<ReplaceKeyWith/> | |
</Redirect> | |
</RoutingRule> | |
</RoutingRules> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment