mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-05-28 03:18:27 +01:00
fixes #1427 - [Feature Request]: Require Encryption
This commit is contained in:
@@ -1931,13 +1931,13 @@ namespace Emby.Server.Implementations
|
||||
{
|
||||
get
|
||||
{
|
||||
return SupportsHttps && ServerConfigurationManager.Configuration.EnableHttps;
|
||||
return SupportsHttps && (ServerConfigurationManager.Configuration.EnableHttps || ServerConfigurationManager.Configuration.RequireHttps);
|
||||
}
|
||||
}
|
||||
|
||||
public bool SupportsHttps
|
||||
{
|
||||
get { return Certificate != null; }
|
||||
get { return Certificate != null || ServerConfigurationManager.Configuration.IsBehindProxy; }
|
||||
}
|
||||
|
||||
public async Task<string> GetLocalApiUrl()
|
||||
|
||||
Reference in New Issue
Block a user