diff --git a/src/web/Jordnaer/Program.cs b/src/web/Jordnaer/Program.cs index 9b1effb1..e82e029f 100644 --- a/src/web/Jordnaer/Program.cs +++ b/src/web/Jordnaer/Program.cs @@ -15,7 +15,6 @@ using Jordnaer.Features.UserSearch; using Jordnaer.Shared; using Jordnaer.Shared.Infrastructure; -using Microsoft.AspNetCore.HttpOverrides; using Serilog; using System.Text.Json.Serialization; using Jordnaer.Components; @@ -109,11 +108,6 @@ app.UseAzureAppConfiguration(); -app.UseForwardedHeaders(new ForwardedHeadersOptions -{ - ForwardedHeaders = ForwardedHeaders.XForwardedFor | ForwardedHeaders.XForwardedProto -}); - app.UseAuthentication(); app.UseAuthorization(); app.UseAntiforgery();