From caf4f17b5de8731f9a6c650dc4877c52e46da2e8 Mon Sep 17 00:00:00 2001 From: Tim McCarthy Date: Mon, 2 Mar 2020 21:48:08 -0800 Subject: [PATCH] Added comments --- src/Web/WebMVC/Startup.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Web/WebMVC/Startup.cs b/src/Web/WebMVC/Startup.cs index bffe31655..29d1723c8 100644 --- a/src/Web/WebMVC/Startup.cs +++ b/src/Web/WebMVC/Startup.cs @@ -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