From 5112fc1aaa853a1ab0e70cef1552e238d00a7681 Mon Sep 17 00:00:00 2001 From: Elliot Voris Date: Thu, 1 Feb 2024 13:45:05 -0600 Subject: [PATCH] fix two redirect regexes to avoid duplicate `/` slash --- nginx/includes/redirects.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nginx/includes/redirects.conf b/nginx/includes/redirects.conf index c73c9220..0ec7499d 100644 --- a/nginx/includes/redirects.conf +++ b/nginx/includes/redirects.conf @@ -39,5 +39,5 @@ rewrite "^/docs/fundamentals-and-concepts/(built-in-types|custom-types|fully-typ rewrite "^/docs/fundamentals-and-concepts/invoking-contracts-with-transactions$" "/docs/soroban-internals/contract-interactions/stellar-transaction" permanent; rewrite "^/docs/soroban-internals/contract-interactions/stellar-transactions$" "/docs/soroban-internals/contract-interactions/stellar-transaction" permanent; rewrite "^/docs/fundamentals-and-concepts/interacting-with-contracts$" "/docs/soroban-internals/contract-interactions" permanent; -rewrite "^/docs/(basic|advanced)-tutorials(/.*)$" "/docs/tutorials/$2" permanent; -rewrite "^/docs/fundamentals-and-concepts(/.*)$" "/docs/soroban-internals/$1" permanent; +rewrite "^/docs/(basic|advanced)-tutorials(/.*)$" "/docs/tutorials$2" permanent; +rewrite "^/docs/fundamentals-and-concepts(/.*)$" "/docs/soroban-internals$1" permanent;