Hot answers tagged

1

I'd suggest using a more up to date solution to this problem. In Startup.cs, configure the ForwardedHeaders middleware to use the X-Forwarded-Proto header provided by the load balancer: app.UseForwardedHeaders(new ForwardedHeadersOptions { ForwardedHeaders = ForwardedHeaders.XForwardedFor | ForwardedHeaders.XForwardedHost | ForwardedHeaders....


Only top voted, non community-wiki answers of a minimum length are eligible