Merge pull request #1081 from cvium/certificate_not_null
Disable HTTPS in Kestrel if Certificate is null
This commit is contained in:
commit
63342f89d4
|
@ -629,7 +629,7 @@ namespace Emby.Server.Implementations
|
|||
{
|
||||
options.ListenAnyIP(HttpPort);
|
||||
|
||||
if (EnableHttps)
|
||||
if (EnableHttps && Certificate != null)
|
||||
{
|
||||
options.ListenAnyIP(HttpsPort, listenOptions => { listenOptions.UseHttps(Certificate); });
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user