Browse Source

Added comments

pull/1259/head
Tim McCarthy 5 years ago
parent
commit
caf4f17b5d
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      src/Web/WebMVC/Startup.cs

+ 1
- 0
src/Web/WebMVC/Startup.cs View File

@ -59,6 +59,7 @@ namespace Microsoft.eShopOnContainers.WebMVC
{
JwtSecurityTokenHandler.DefaultInboundClaimTypeMap.Remove("sub");
// This is necessary for reverse-proxy load balancing in OpenShift
app.UseForwardedHeaders(new ForwardedHeadersOptions
{
ForwardedHeaders = ForwardedHeaders.XForwardedProto


Loading…
Cancel
Save