Skip to content

Commit

Permalink
fixed trialing slashes
Browse files Browse the repository at this point in the history
  • Loading branch information
ihordiachenko committed Jul 19, 2024
1 parent 9bfdae8 commit 9aed530
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -125,20 +125,20 @@ http {

# Redirects

location /products/passport-derived-profiles/ {
rewrite /products/passport-derived-profiles/(.*)$ /accounts/zk-passport/$1 permanent;
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;
location /products/identity-protocol {
rewrite /products/identity-protocol(.*)$ /credential-trees$1 permanent;
}

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

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

## ecosystem
Expand Down

0 comments on commit 9aed530

Please sign in to comment.