1
0
mirror of https://github.com/bigchaindb/site.git synced 2024-11-21 17:26: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>
<Condition>
<KeyPrefixEquals>usecases/</KeyPrefixEquals>
<KeyPrefixEquals>usecases</KeyPrefixEquals>
<HttpErrorCodeReturnedEquals>404</HttpErrorCodeReturnedEquals>
</Condition>
<Redirect>
@ -27,7 +27,7 @@
</RoutingRule>
<RoutingRule>
<Condition>
<KeyPrefixEquals>getstarted/</KeyPrefixEquals>
<KeyPrefixEquals>getstarted</KeyPrefixEquals>
<HttpErrorCodeReturnedEquals>404</HttpErrorCodeReturnedEquals>
</Condition>
<Redirect>
@ -37,7 +37,7 @@
</RoutingRule>
<RoutingRule>
<Condition>
<KeyPrefixEquals>developers/</KeyPrefixEquals>
<KeyPrefixEquals>developers</KeyPrefixEquals>
<HttpErrorCodeReturnedEquals>404</HttpErrorCodeReturnedEquals>
</Condition>
<Redirect>
@ -47,7 +47,7 @@
</RoutingRule>
<RoutingRule>
<Condition>
<KeyPrefixEquals>guides/</KeyPrefixEquals>
<KeyPrefixEquals>guides</KeyPrefixEquals>
<HttpErrorCodeReturnedEquals>404</HttpErrorCodeReturnedEquals>
</Condition>
<Redirect>
@ -57,7 +57,7 @@
</RoutingRule>
<RoutingRule>
<Condition>
<KeyPrefixEquals>enterprise/</KeyPrefixEquals>
<KeyPrefixEquals>enterprise</KeyPrefixEquals>
<HttpErrorCodeReturnedEquals>404</HttpErrorCodeReturnedEquals>
</Condition>
<Redirect>
@ -67,11 +67,12 @@
</RoutingRule>
<RoutingRule>
<Condition>
<KeyPrefixEquals>faq/</KeyPrefixEquals>
<KeyPrefixEquals>faq</KeyPrefixEquals>
<HttpErrorCodeReturnedEquals>404</HttpErrorCodeReturnedEquals>
</Condition>
<Redirect>
<HostName>docs.bigchaindb.com</HostName>
<ReplaceKeyPrefixWith></ReplaceKeyPrefixWith>
<HttpRedirectCode>302</HttpRedirectCode>
</Redirect>
</RoutingRule>