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

S3 routing rules are fun

This commit is contained in:
Matthias Kretschmann 2018-04-06 14:44:26 +02:00
parent 033c0c00bd
commit e37ed65e57
Signed by: m
GPG Key ID: 606EEEF3C479A91F

View File

@ -18,6 +18,7 @@
<RoutingRule>
<Condition>
<KeyPrefixEquals>usecases/</KeyPrefixEquals>
<HttpErrorCodeReturnedEquals>404</HttpErrorCodeReturnedEquals>
</Condition>
<Redirect>
<ReplaceKeyPrefixWith>features/#usecases</ReplaceKeyPrefixWith>
@ -26,7 +27,8 @@
</RoutingRule>
<RoutingRule>
<Condition>
<KeyPrefixEquals>getstarted/index.html</KeyPrefixEquals>
<KeyPrefixEquals>getstarted/</KeyPrefixEquals>
<HttpErrorCodeReturnedEquals>404</HttpErrorCodeReturnedEquals>
</Condition>
<Redirect>
<ReplaceKeyPrefixWith>developers/getstarted/</ReplaceKeyPrefixWith>
@ -35,7 +37,8 @@
</RoutingRule>
<RoutingRule>
<Condition>
<KeyPrefixEquals>guides/index.html</KeyPrefixEquals>
<KeyPrefixEquals>guides/</KeyPrefixEquals>
<HttpErrorCodeReturnedEquals>404</HttpErrorCodeReturnedEquals>
</Condition>
<Redirect>
<ReplaceKeyPrefixWith>developers/guides/</ReplaceKeyPrefixWith>
@ -45,6 +48,7 @@
<RoutingRule>
<Condition>
<KeyPrefixEquals>enterprise/</KeyPrefixEquals>
<HttpErrorCodeReturnedEquals>404</HttpErrorCodeReturnedEquals>
</Condition>
<Redirect>
<ReplaceKeyPrefixWith>services/</ReplaceKeyPrefixWith>