aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Model/Configuration
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2015-01-17 13:15:34 -0500
committerLuke Pulverenti <luke.pulverenti@gmail.com>2015-01-17 13:15:34 -0500
commitea30f766b6348a0d846d9f72191a8c4959bf2483 (patch)
treeb1706bdb6b859103a4d066160f21a0e9831522a3 /MediaBrowser.Model/Configuration
parent628c6cbc28f5a744785731dd4e94ec7a1f881dd2 (diff)
parentbb02d68cebb2379623dda5e7803135d80f15b27f (diff)
Merge branch 'dev' of https://github.com/MediaBrowser/MediaBrowser into dev
Diffstat (limited to 'MediaBrowser.Model/Configuration')
-rw-r--r--MediaBrowser.Model/Configuration/ServerConfiguration.cs17
1 files changed, 16 insertions, 1 deletions
diff --git a/MediaBrowser.Model/Configuration/ServerConfiguration.cs b/MediaBrowser.Model/Configuration/ServerConfiguration.cs
index c4a9c5eea..755fe8aa8 100644
--- a/MediaBrowser.Model/Configuration/ServerConfiguration.cs
+++ b/MediaBrowser.Model/Configuration/ServerConfiguration.cs
@@ -1,4 +1,5 @@
-using MediaBrowser.Model.Dto;
+using System.Xml.Schema;
+using MediaBrowser.Model.Dto;
using MediaBrowser.Model.Entities;
namespace MediaBrowser.Model.Configuration
@@ -32,6 +33,17 @@ namespace MediaBrowser.Model.Configuration
/// <value>The HTTPS server port number.</value>
public int HttpsPortNumber { get; set; }
+ /// 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 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 string CertificatePath { get; set; }
+
/// <summary>
/// Gets or sets a value indicating whether [enable internet providers].
/// </summary>
@@ -187,6 +199,7 @@ namespace MediaBrowser.Model.Configuration
public string[] InsecureApps8 { get; set; }
public bool SaveMetadataHidden { get; set; }
+
public bool EnableWin8HttpListener { get; set; }
public NameValuePair[] ContentTypes { get; set; }
@@ -204,6 +217,8 @@ namespace MediaBrowser.Model.Configuration
PublicPort = 8096;
HttpServerPortNumber = 8096;
HttpsPortNumber = 8920;
+ UseHttps = false;
+ CertificatePath = null;
EnableDashboardResponseCaching = true;
EnableAutomaticRestart = true;