diff --git a/src/ImageWizard/Startup.cs b/src/ImageWizard/Startup.cs index 73f19b40..b84c314f 100644 --- a/src/ImageWizard/Startup.cs +++ b/src/ImageWizard/Startup.cs @@ -91,6 +91,8 @@ public void ConfigureServices(IServiceCollection services) services.Configure(options => { options.ForwardedHeaders = ForwardedHeaders.XForwardedFor | ForwardedHeaders.XForwardedProto | ForwardedHeaders.XForwardedHost; + options.KnownNetworks.Clear(); + options.KnownProxies.Clear(); }); services.AddHttpsRedirection(x => x.HttpsPort = 443); }