Skip to content

Commit

Permalink
Update deploy-kratos-example.mdx
Browse files Browse the repository at this point in the history
Removed removal of nginx rewrite. Conflicted with "RedirectAdminMiddleware" in the kratos code, which adds the prefix "admin/" if not present.
  • Loading branch information
Laplace-Transformer authored Nov 7, 2024
1 parent 391cac3 commit 3f1fc4a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions docs/kratos/guides/deploy-kratos-example.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 3f1fc4a

Please sign in to comment.