Forward X-Forwarded-Host header

(cherry picked from commit 3fbe4361386e9fb8dafdf82ad9f00f02bec746cc)
pull/4781/head
Mark McDowall 8 months ago committed by Bogdan
parent 1bdcf91014
commit f4a02ffc83

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

Loading…
Cancel
Save