diff --git a/Startup.cs b/Startup.cs index 135c136..0c8b668 100644 --- a/Startup.cs +++ b/Startup.cs @@ -30,6 +30,10 @@ namespace NikolaNet options.ForwardedHeaders = ForwardedHeaders.XForwardedFor | ForwardedHeaders.XForwardedProto; }); + services.Configure(options => +{ + options.KnownProxies.Add(IPAddress.Parse("192.168.1.102")); +}); } // This method gets called by the runtime. Use this method to configure the HTTP request pipeline.