我想在具有 Windows 授权的 Linux 中部署 ASP.NET Core 应用程序。
我大致了解我需要配置什么,例如,nginx 作为将 Kerberos 转发到 Kestrel 的反向代理服务器。但我不明白 Kestrel 是否可以接受 kerberos token ,或者需要如何配置它才能使该方案起作用? 对于 IIS,我们需要添加:
services.AddAuthentication(IISDefaults.AuthenticationScheme)
最佳答案
无官方支持(90% 确定)
基于:
注意事项:
Windows Authentication can be configured for ASP.NET Core apps hosted with IIS or HTTP.sys.
Windows Authentication relies on the operating system to authenticate users of ASP.NET Core apps.
IIS 和 HTTP.sys 仅在 Windows 上运行
可能的解决方法
关于c# - 是否可以配置从 Nginx 到 kestrel aspnet core 的 kerberos 转发,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/56553836/