From 3f1fc4af6fb16a3e216bc86a713f04b82d6ba91b Mon Sep 17 00:00:00 2001 From: Laplace-Transformer <90091458+Laplace-Transformer@users.noreply.github.com> Date: Thu, 7 Nov 2024 12:54:49 +0100 Subject: [PATCH] Update deploy-kratos-example.mdx Removed removal of nginx rewrite. Conflicted with "RedirectAdminMiddleware" in the kratos code, which adds the prefix "admin/" if not present. --- docs/kratos/guides/deploy-kratos-example.mdx | 2 -- 1 file changed, 2 deletions(-) diff --git a/docs/kratos/guides/deploy-kratos-example.mdx b/docs/kratos/guides/deploy-kratos-example.mdx index b411f9bc4..cae948ade 100644 --- a/docs/kratos/guides/deploy-kratos-example.mdx +++ b/docs/kratos/guides/deploy-kratos-example.mdx @@ -445,8 +445,6 @@ instances of Ory Kratos running on the various virtual machines. We need two ups return 403; } - rewrite /admin/(.*) /$1 break; - proxy_pass http://admin_api; proxy_redirect off; proxy_set_header Host $host;