1
0
mirror of https://github.com/kremalicious/blog.git synced 2024-11-22 18:00:06 +01:00

document S3 redirection rules

This commit is contained in:
Matthias Kretschmann 2016-04-16 17:30:47 +02:00
parent 62e8dbc041
commit b70616bf78
Signed by: m
GPG Key ID: BD3C1F3EDD7831FC
4 changed files with 63 additions and 0 deletions

63
_aws/redirects.xml Normal file
View File

@ -0,0 +1,63 @@
<?xml version="1.0"?>
<RoutingRules>
<RoutingRule>
<Condition>
<KeyPrefixEquals>lab/</KeyPrefixEquals>
</Condition>
<Redirect>
<HostName>lab.kremalicious.com</HostName>
<ReplaceKeyWith></ReplaceKeyWith>
</Redirect>
</RoutingRule>
<RoutingRule>
<Condition>
<KeyPrefixEquals>lab</KeyPrefixEquals>
</Condition>
<Redirect>
<HostName>lab.kremalicious.com</HostName>
<ReplaceKeyWith></ReplaceKeyWith>
</Redirect>
</RoutingRule>
<RoutingRule>
<Condition>
<KeyPrefixEquals>csspaperstack/</KeyPrefixEquals>
</Condition>
<Redirect>
<HostName>lab.kremalicious.com</HostName>
</Redirect>
</RoutingRule>
<RoutingRule>
<Condition>
<KeyPrefixEquals>csspaperstack</KeyPrefixEquals>
</Condition>
<Redirect>
<HostName>lab.kremalicious.com</HostName>
</Redirect>
</RoutingRule>
<RoutingRule>
<Condition>
<KeyPrefixEquals>download/</KeyPrefixEquals>
</Condition>
<Redirect>
<ReplaceKeyPrefixWith>media/</ReplaceKeyPrefixWith>
</Redirect>
</RoutingRule>
<RoutingRule>
<Condition>
<KeyPrefixEquals>portfolio/</KeyPrefixEquals>
</Condition>
<Redirect>
<HostName>matthiaskretschmann.com</HostName>
<ReplaceKeyWith></ReplaceKeyWith>
</Redirect>
</RoutingRule>
<RoutingRule>
<Condition>
<KeyPrefixEquals>portfolio</KeyPrefixEquals>
</Condition>
<Redirect>
<HostName>matthiaskretschmann.com</HostName>
<ReplaceKeyWith></ReplaceKeyWith>
</Redirect>
</RoutingRule>
</RoutingRules>