Forward X-Forwarded-Host header

(cherry picked from commit 3fbe4361386e9fb8dafdf82ad9f00f02bec746cc)
pull/2120/head
Mark McDowall 8 months ago committed by Bogdan
parent 04bb0c51b1
commit 83c6751847

@ -58,7 +58,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