diff options
| author | Mark Monteiro <marknr.monteiro@protonmail.com> | 2020-04-02 17:45:04 -0400 |
|---|---|---|
| committer | Mark Monteiro <marknr.monteiro@protonmail.com> | 2020-04-02 17:45:04 -0400 |
| commit | ca71ac72abf5d5ff31d50553283a43de298e0c73 (patch) | |
| tree | 0a8c9aa0d0cef43e8accb9f283aed0f5a10fb759 /Emby.Server.Implementations/HttpServer/HttpListenerHost.cs | |
| parent | 5a816f0b22cec12d193b19fcb9f21c7d085a3fbf (diff) | |
Replace EnableHttps and SupportsHttps with ListenWithHttps and CanConnectWithHttps
Diffstat (limited to 'Emby.Server.Implementations/HttpServer/HttpListenerHost.cs')
| -rw-r--r-- | Emby.Server.Implementations/HttpServer/HttpListenerHost.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Emby.Server.Implementations/HttpServer/HttpListenerHost.cs b/Emby.Server.Implementations/HttpServer/HttpListenerHost.cs index 7a812f320..e3f8ec014 100644 --- a/Emby.Server.Implementations/HttpServer/HttpListenerHost.cs +++ b/Emby.Server.Implementations/HttpServer/HttpListenerHost.cs @@ -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) { |
