Skip to content

Commit

Permalink
Try redirects
Browse files Browse the repository at this point in the history
  • Loading branch information
ihordiachenko committed Jul 19, 2024
1 parent 151547b commit 1c8bba6
Showing 1 changed file with 3 additions and 59 deletions.
62 changes: 3 additions & 59 deletions nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -125,65 +125,13 @@ http {

# Redirects

## architecture -> overview

location /use-cases/ssi {
rewrite ^/use-cases/ssi$ /use-cases/self-sovereign-identity
permanent;
}

location /use-cases/state-replication {
rewrite ^/use-cases/state-replication$ /use-cases/identity-protocol-state-replication
permanent;
}

## products

### base-layer
location /reference/core/rarimocore {
rewrite ^/reference/core/rarimocore$ /products/base-layer/rarimo-core
permanent;
}

location /reference/core/tokenmanager {
rewrite ^/reference/core/tokenmanager$ /products/base-layer/tokenmanager-module
permanent;
}

location /reference/core/oraclemanager {
rewrite ^/reference/core/oraclemanager$ /products/base-layer/oraclemanager
permanent;
}

location /reference/core/tss {
rewrite ^/reference/core/tss$ /products/base-layer/threshold-signature
permanent;
}

location /reference/core/oracles {
rewrite ^/reference/core/oracles$ /products/base-layer/oracles
permanent;
}

location /how-to-guides/staking {
rewrite ^/how-to-guides/staking$ /products/base-layer/guide-staking-your-rmo-tokens
permanent;
location /products/base-layer/ {
return 301 /rarimo-core/$request_uri;
}

location /how-to-guides/validator-setup {
rewrite ^/how-to-guides/validator-setup$ /products/base-layer/guide-becoming-a-rarimo-validator
permanent;
}

location /reference/api {
rewrite ^/reference/api$ /products/base-layer/api-reference
permanent;
}
### rarimo-core

location /reference/core {
rewrite ^/reference/core$ /products/base-layer/rarimo-core
permanent;
}

### identity-protocol

Expand All @@ -196,10 +144,6 @@ http {

### rarime

location /how-to-guides/add-rarimo-credentials-to-rarime {
rewrite ^/how-to-guides/add-rarimo-credentials-to-rarime$ /products/rarime/guide-issuing-credentials-to-rarime
permanent;
}

## ecosystem

Expand Down

0 comments on commit 1c8bba6

Please sign in to comment.