Forward X-Forwarded-Host header

Closes #6764
This commit is contained in:
Mark McDowall 2024-04-28 09:25:42 -07:00 committed by Mark McDowall
parent 92eab4b2e2
commit 3fbe436138
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@ namespace NzbDrone.Host
services.Configure<ForwardedHeadersOptions>(options => services.Configure<ForwardedHeadersOptions>(options =>
{ {
options.ForwardedHeaders = ForwardedHeaders.XForwardedFor | ForwardedHeaders.XForwardedProto; options.ForwardedHeaders = ForwardedHeaders.XForwardedFor | ForwardedHeaders.XForwardedProto | ForwardedHeaders.XForwardedHost;
options.KnownNetworks.Clear(); options.KnownNetworks.Clear();
options.KnownProxies.Clear(); options.KnownProxies.Clear();
}); });