How to configrue a host of redirected page that not authorized user will move.

Zang-Ho Bae 26 Reputation points
2021-01-07T05:51:23.567+00:00

When a not authorized user access manager page, Dotent scheduled to pass the user to the login page.
But, In case that i use reverse proxy server and use a custom port, dotnet didn't observe the port.
So, dotnet pass the user to a path that was had default port(80).

I am working on dotnet core version 5.0.1.
My project is going to run on The Ubuntu.
And I will use reverse proxy server with The nginx.

Authentication method was used Identity in my project.

How can i make to let dotnet pass not authorized user to correct path with what i used prot?

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,599 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.