diff options
| author | Mike <github@barry.io> | 2015-01-18 19:54:13 -0500 |
|---|---|---|
| committer | Mike <github@barry.io> | 2015-01-18 19:54:13 -0500 |
| commit | ec947acfde998ca3c411243ae5acdc325f4f81ff (patch) | |
| tree | 0d169643c92356b63fcc7abe5b9f7f3482ad4b26 | |
| parent | cefd565e67ce3b8225eb2fa8a7338dc4d85b458d (diff) | |
Fix ssl port info on dashboard
| -rw-r--r-- | MediaBrowser.Model/System/SystemInfo.cs | 6 | ||||
| -rw-r--r-- | MediaBrowser.Server.Startup.Common/ApplicationHost.cs | 1 |
2 files changed, 7 insertions, 0 deletions
diff --git a/MediaBrowser.Model/System/SystemInfo.cs b/MediaBrowser.Model/System/SystemInfo.cs index 5a9197827..0d0c0cddb 100644 --- a/MediaBrowser.Model/System/SystemInfo.cs +++ b/MediaBrowser.Model/System/SystemInfo.cs @@ -122,6 +122,12 @@ namespace MediaBrowser.Model.System /// <value>The HTTP server port number.</value> public int HttpServerPortNumber { get; set; } + /// <summary> + /// Gets or sets the value pointing to the file system where the ssl certiifcate is located. + /// </summary> + /// <value>The value pointing to the file system where the ssl certiifcate is located.</value> + public bool UseHttps { get; set; } + /// <summary> /// Gets or sets the HTTPS server port number. /// </summary> diff --git a/MediaBrowser.Server.Startup.Common/ApplicationHost.cs b/MediaBrowser.Server.Startup.Common/ApplicationHost.cs index 3867fc243..b71aa2adb 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, |
