Skip to content

Commit 05f1e74

Browse files
committed
Fix redirects
1 parent 1c8bba6 commit 05f1e74

File tree

1 file changed

+11
-15
lines changed

1 file changed

+11
-15
lines changed

nginx.conf

Lines changed: 11 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -125,25 +125,21 @@ http {
125125

126126
# Redirects
127127

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

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

133-
### rarimo-core
134-
135-
136-
### identity-protocol
137-
138-
# location /products/identity-protocol/overview {
139-
# rewrite ^/overview/identity$ /products/identity-protocol
140-
# permanent;
141-
# }
142-
143-
144-
145-
### rarime
136+
location /products/rarime/ {
137+
rewrite ^/products/rarime/(.*)$ /rarime/$1 permanent;
138+
}
146139

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

148144
## ecosystem
149145

0 commit comments

Comments
 (0)