Skip to content

Instantly share code, notes, and snippets.

@aklinkert
Created November 13, 2016 17:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aklinkert/bb3e5add6afd6c1e64a7ca2dd71a67f1 to your computer and use it in GitHub Desktop.
Save aklinkert/bb3e5add6afd6c1e64a7ca2dd71a67f1 to your computer and use it in GitHub Desktop.
S3 redirect
<RoutingRules>
<RoutingRule>
<Redirect>
<Protocol>http</Protocol>
<HostName>www.target.example.com</HostName>
<HttpRedirectCode>301</HttpRedirectCode>
</Redirect>
</RoutingRule>
</RoutingRules>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment