From ec947acfde998ca3c411243ae5acdc325f4f81ff Mon Sep 17 00:00:00 2001 From: Mike Date: Sun, 18 Jan 2015 19:54:13 -0500 Subject: [PATCH] Fix ssl port info on dashboard --- MediaBrowser.Model/System/SystemInfo.cs | 6 ++++++ MediaBrowser.Server.Startup.Common/ApplicationHost.cs | 1 + 2 files changed, 7 insertions(+) diff --git a/MediaBrowser.Model/System/SystemInfo.cs b/MediaBrowser.Model/System/SystemInfo.cs index 5a91978279..0d0c0cddbe 100644 --- a/MediaBrowser.Model/System/SystemInfo.cs +++ b/MediaBrowser.Model/System/SystemInfo.cs @@ -122,6 +122,12 @@ namespace MediaBrowser.Model.System /// The HTTP server port number. public int HttpServerPortNumber { get; set; } + /// + /// Gets or sets the value pointing to the file system where the ssl certiifcate is located. + /// + /// The value pointing to the file system where the ssl certiifcate is located. + public bool UseHttps { get; set; } + /// /// Gets or sets the HTTPS server port number. /// diff --git a/MediaBrowser.Server.Startup.Common/ApplicationHost.cs b/MediaBrowser.Server.Startup.Common/ApplicationHost.cs index 3867fc243f..b71aa2adb6 100644 --- a/MediaBrowser.Server.Startup.Common/ApplicationHost.cs +++ b/MediaBrowser.Server.Startup.Common/ApplicationHost.cs @@ -965,6 +965,7 @@ namespace MediaBrowser.Server.Startup.Common CachePath = ApplicationPaths.CachePath, MacAddress = GetMacAddress(), HttpServerPortNumber = HttpServerPort, + UseHttps = this.ServerConfigurationManager.Configuration.UseHttps, HttpsPortNumber = HttpsServerPort, OperatingSystem = OperatingSystemDisplayName, CanSelfRestart = CanSelfRestart,