How to configrue a host of redirected page that not authorized user will move.
Zang-Ho Bae
26
Reputation points
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?
Sign in to answer