Skip to content

Commit

Permalink
Fix redirects
Browse files Browse the repository at this point in the history
  • Loading branch information
ihordiachenko committed Jul 19, 2024
1 parent 1c8bba6 commit 05f1e74
Showing 1 changed file with 11 additions and 15 deletions.
26 changes: 11 additions & 15 deletions nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -125,25 +125,21 @@ http {

# Redirects

location /products/base-layer/ {
return 301 /rarimo-core/$request_uri;
location /products/passport-derived-profiles/ {
rewrite ^/products/passport-derived-profiles/(.*)$ /accounts/zk-passport/$1 permanent;
}

location /products/identity-protocol/ {
rewrite ^/products/identity-protocol/(.*)$ /credential-trees/$1 permanent;
}

### rarimo-core


### identity-protocol

# location /products/identity-protocol/overview {
# rewrite ^/overview/identity$ /products/identity-protocol
# permanent;
# }



### rarime
location /products/rarime/ {
rewrite ^/products/rarime/(.*)$ /rarime/$1 permanent;
}

location /products/base-layer/ {
rewrite ^/products/base-layer/(.*)$ /rarimo-core/$1 permanent;
}

## ecosystem

Expand Down

0 comments on commit 05f1e74

Please sign in to comment.