mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-04-01 07:51:54 +01:00
Disable HTTPS in Kestrel if Certificate is null
This commit is contained in:
@@ -629,7 +629,7 @@ namespace Emby.Server.Implementations
|
||||
{
|
||||
options.ListenAnyIP(HttpPort);
|
||||
|
||||
if (EnableHttps)
|
||||
if (EnableHttps && Certificate != null)
|
||||
{
|
||||
options.ListenAnyIP(HttpsPort, listenOptions => { listenOptions.UseHttps(Certificate); });
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user