Use EnableHttps instead of CertificateInfo

pull/1010/head
Claus Vium 6 years ago
parent e823c11b46
commit d450169964

@ -627,7 +627,7 @@ namespace Emby.Server.Implementations
options.Listen(IPAddress.Any, HttpPort); options.Listen(IPAddress.Any, HttpPort);
options.Listen(IPAddress.Loopback, HttpPort); options.Listen(IPAddress.Loopback, HttpPort);
if (CertificateInfo != null) if (EnableHttps)
{ {
options.Listen(IPAddress.Any, HttpsPort, listenOptions => { listenOptions.UseHttps(Certificate); }); options.Listen(IPAddress.Any, HttpsPort, listenOptions => { listenOptions.UseHttps(Certificate); });
options.Listen(IPAddress.Loopback, HttpsPort, listenOptions => { listenOptions.UseHttps(Certificate); }); options.Listen(IPAddress.Loopback, HttpsPort, listenOptions => { listenOptions.UseHttps(Certificate); });

Loading…
Cancel
Save