1
0
mirror of https://github.com/bigchaindb/site.git synced 2024-11-22 01:36:55 +01:00

S3 routing rule fixes

This commit is contained in:
Matthias Kretschmann 2018-04-12 15:33:33 +02:00
parent e500c641d5
commit d0213fec0f
Signed by: m
GPG Key ID: 606EEEF3C479A91F

View File

@ -17,7 +17,7 @@
</RoutingRule> </RoutingRule>
<RoutingRule> <RoutingRule>
<Condition> <Condition>
<KeyPrefixEquals>usecases/</KeyPrefixEquals> <KeyPrefixEquals>usecases</KeyPrefixEquals>
<HttpErrorCodeReturnedEquals>404</HttpErrorCodeReturnedEquals> <HttpErrorCodeReturnedEquals>404</HttpErrorCodeReturnedEquals>
</Condition> </Condition>
<Redirect> <Redirect>
@ -27,7 +27,7 @@
</RoutingRule> </RoutingRule>
<RoutingRule> <RoutingRule>
<Condition> <Condition>
<KeyPrefixEquals>getstarted/</KeyPrefixEquals> <KeyPrefixEquals>getstarted</KeyPrefixEquals>
<HttpErrorCodeReturnedEquals>404</HttpErrorCodeReturnedEquals> <HttpErrorCodeReturnedEquals>404</HttpErrorCodeReturnedEquals>
</Condition> </Condition>
<Redirect> <Redirect>
@ -37,7 +37,7 @@
</RoutingRule> </RoutingRule>
<RoutingRule> <RoutingRule>
<Condition> <Condition>
<KeyPrefixEquals>developers/</KeyPrefixEquals> <KeyPrefixEquals>developers</KeyPrefixEquals>
<HttpErrorCodeReturnedEquals>404</HttpErrorCodeReturnedEquals> <HttpErrorCodeReturnedEquals>404</HttpErrorCodeReturnedEquals>
</Condition> </Condition>
<Redirect> <Redirect>
@ -47,7 +47,7 @@
</RoutingRule> </RoutingRule>
<RoutingRule> <RoutingRule>
<Condition> <Condition>
<KeyPrefixEquals>guides/</KeyPrefixEquals> <KeyPrefixEquals>guides</KeyPrefixEquals>
<HttpErrorCodeReturnedEquals>404</HttpErrorCodeReturnedEquals> <HttpErrorCodeReturnedEquals>404</HttpErrorCodeReturnedEquals>
</Condition> </Condition>
<Redirect> <Redirect>
@ -57,7 +57,7 @@
</RoutingRule> </RoutingRule>
<RoutingRule> <RoutingRule>
<Condition> <Condition>
<KeyPrefixEquals>enterprise/</KeyPrefixEquals> <KeyPrefixEquals>enterprise</KeyPrefixEquals>
<HttpErrorCodeReturnedEquals>404</HttpErrorCodeReturnedEquals> <HttpErrorCodeReturnedEquals>404</HttpErrorCodeReturnedEquals>
</Condition> </Condition>
<Redirect> <Redirect>
@ -67,11 +67,12 @@
</RoutingRule> </RoutingRule>
<RoutingRule> <RoutingRule>
<Condition> <Condition>
<KeyPrefixEquals>faq/</KeyPrefixEquals> <KeyPrefixEquals>faq</KeyPrefixEquals>
<HttpErrorCodeReturnedEquals>404</HttpErrorCodeReturnedEquals> <HttpErrorCodeReturnedEquals>404</HttpErrorCodeReturnedEquals>
</Condition> </Condition>
<Redirect> <Redirect>
<HostName>docs.bigchaindb.com</HostName> <HostName>docs.bigchaindb.com</HostName>
<ReplaceKeyPrefixWith></ReplaceKeyPrefixWith>
<HttpRedirectCode>302</HttpRedirectCode> <HttpRedirectCode>302</HttpRedirectCode>
</Redirect> </Redirect>
</RoutingRule> </RoutingRule>