aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Networking/Configuration/NetworkConfiguration.cs
diff options
context:
space:
mode:
authorClaus Vium <cvium@users.noreply.github.com>2021-10-25 22:41:32 +0200
committerGitHub <noreply@github.com>2021-10-25 22:41:32 +0200
commit5eda5eb63668503d29290ab48ac8f1dc729f82c3 (patch)
tree33ec2f526b98a13d7173690f5af1bd6b1ddf4086 /Jellyfin.Networking/Configuration/NetworkConfiguration.cs
parentda6225fb73322ea01ad0e4dd7048082e1d807298 (diff)
parent90174f68e2b477e613d756d78cbfd89c2a33f30a (diff)
Merge pull request #6486 from fredriklindberg/support-forwarded-headers-for-api-url
Diffstat (limited to 'Jellyfin.Networking/Configuration/NetworkConfiguration.cs')
-rw-r--r--Jellyfin.Networking/Configuration/NetworkConfiguration.cs5
1 files changed, 5 insertions, 0 deletions
diff --git a/Jellyfin.Networking/Configuration/NetworkConfiguration.cs b/Jellyfin.Networking/Configuration/NetworkConfiguration.cs
index faf814c06..61db223d9 100644
--- a/Jellyfin.Networking/Configuration/NetworkConfiguration.cs
+++ b/Jellyfin.Networking/Configuration/NetworkConfiguration.cs
@@ -226,5 +226,10 @@ namespace Jellyfin.Networking.Configuration
/// Gets or sets the known proxies. If the proxy is a network, it's added to the KnownNetworks.
/// </summary>
public string[] KnownProxies { get; set; } = Array.Empty<string>();
+
+ /// <summary>
+ /// Gets or sets a value indicating whether the published server uri is based on information in HTTP requests.
+ /// </summary>
+ public bool EnablePublishedServerUriByRequest { get; set; } = false;
}
}