mirror of
https://github.com/bigchaindb/site.git
synced 2024-11-22 09:46:57 +01:00
S3 routing rules are fun
This commit is contained in:
parent
033c0c00bd
commit
e37ed65e57
@ -18,6 +18,7 @@
|
|||||||
<RoutingRule>
|
<RoutingRule>
|
||||||
<Condition>
|
<Condition>
|
||||||
<KeyPrefixEquals>usecases/</KeyPrefixEquals>
|
<KeyPrefixEquals>usecases/</KeyPrefixEquals>
|
||||||
|
<HttpErrorCodeReturnedEquals>404</HttpErrorCodeReturnedEquals>
|
||||||
</Condition>
|
</Condition>
|
||||||
<Redirect>
|
<Redirect>
|
||||||
<ReplaceKeyPrefixWith>features/#usecases</ReplaceKeyPrefixWith>
|
<ReplaceKeyPrefixWith>features/#usecases</ReplaceKeyPrefixWith>
|
||||||
@ -26,7 +27,8 @@
|
|||||||
</RoutingRule>
|
</RoutingRule>
|
||||||
<RoutingRule>
|
<RoutingRule>
|
||||||
<Condition>
|
<Condition>
|
||||||
<KeyPrefixEquals>getstarted/index.html</KeyPrefixEquals>
|
<KeyPrefixEquals>getstarted/</KeyPrefixEquals>
|
||||||
|
<HttpErrorCodeReturnedEquals>404</HttpErrorCodeReturnedEquals>
|
||||||
</Condition>
|
</Condition>
|
||||||
<Redirect>
|
<Redirect>
|
||||||
<ReplaceKeyPrefixWith>developers/getstarted/</ReplaceKeyPrefixWith>
|
<ReplaceKeyPrefixWith>developers/getstarted/</ReplaceKeyPrefixWith>
|
||||||
@ -35,7 +37,8 @@
|
|||||||
</RoutingRule>
|
</RoutingRule>
|
||||||
<RoutingRule>
|
<RoutingRule>
|
||||||
<Condition>
|
<Condition>
|
||||||
<KeyPrefixEquals>guides/index.html</KeyPrefixEquals>
|
<KeyPrefixEquals>guides/</KeyPrefixEquals>
|
||||||
|
<HttpErrorCodeReturnedEquals>404</HttpErrorCodeReturnedEquals>
|
||||||
</Condition>
|
</Condition>
|
||||||
<Redirect>
|
<Redirect>
|
||||||
<ReplaceKeyPrefixWith>developers/guides/</ReplaceKeyPrefixWith>
|
<ReplaceKeyPrefixWith>developers/guides/</ReplaceKeyPrefixWith>
|
||||||
@ -45,6 +48,7 @@
|
|||||||
<RoutingRule>
|
<RoutingRule>
|
||||||
<Condition>
|
<Condition>
|
||||||
<KeyPrefixEquals>enterprise/</KeyPrefixEquals>
|
<KeyPrefixEquals>enterprise/</KeyPrefixEquals>
|
||||||
|
<HttpErrorCodeReturnedEquals>404</HttpErrorCodeReturnedEquals>
|
||||||
</Condition>
|
</Condition>
|
||||||
<Redirect>
|
<Redirect>
|
||||||
<ReplaceKeyPrefixWith>services/</ReplaceKeyPrefixWith>
|
<ReplaceKeyPrefixWith>services/</ReplaceKeyPrefixWith>
|
||||||
|
Loading…
Reference in New Issue
Block a user