mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-03-16 07:06:18 +00:00
Replace EnableHttps and SupportsHttps with ListenWithHttps and CanConnectWithHttps
This commit is contained in:
@@ -422,7 +422,7 @@ namespace Emby.Server.Implementations.HttpServer
|
||||
|
||||
private bool ValidateSsl(string remoteIp, string urlString)
|
||||
{
|
||||
if (_config.Configuration.RequireHttps && _appHost.EnableHttps && !_config.Configuration.IsBehindProxy)
|
||||
if (_config.Configuration.RequireHttps && _appHost.ListenWithHttps)
|
||||
{
|
||||
if (urlString.IndexOf("https://", StringComparison.OrdinalIgnoreCase) == -1)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user