@ -29,6 +29,10 @@ namespace NikolaNet
{
options.ForwardedHeaders =
ForwardedHeaders.XForwardedFor | ForwardedHeaders.XForwardedProto;
});
services.Configure<ForwardedHeadersOptions>(options =>
options.KnownProxies.Add(IPAddress.Parse("192.168.1.102"));
}