diff --git a/nvQuickSite/Controllers/IISController.cs b/nvQuickSite/Controllers/IISController.cs index 1d71ae9..ed1aebf 100644 --- a/nvQuickSite/Controllers/IISController.cs +++ b/nvQuickSite/Controllers/IISController.cs @@ -62,9 +62,9 @@ internal static void CreateSite(string siteName, string installFolder, bool useS { bindingInfo = "*:443:" + siteName; protocol = "https"; + site.Bindings.Add(bindingInfo, protocol); } - site.Bindings.Add(bindingInfo, protocol); site.TraceFailedRequestsLogging.Enabled = true; site.TraceFailedRequestsLogging.Directory = installFolder + "\\Logs"; site.LogFile.Directory = installFolder + "\\Logs" + "\\W3svc" + site.Id.ToString(CultureInfo.InvariantCulture); diff --git a/nvQuickSite/Properties/AssemblyInfo.cs b/nvQuickSite/Properties/AssemblyInfo.cs index aa1726c..7cb1094 100644 --- a/nvQuickSite/Properties/AssemblyInfo.cs +++ b/nvQuickSite/Properties/AssemblyInfo.cs @@ -49,6 +49,6 @@ // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("2.3.0")] -[assembly: AssemblyFileVersion("2.3.0")] +[assembly: AssemblyVersion("2.3.1")] +[assembly: AssemblyFileVersion("2.3.1")] [assembly: NeutralResourcesLanguage("en")] diff --git a/nvQuickSite/Start.cs b/nvQuickSite/Start.cs index 0b8b42f..2087d0e 100644 --- a/nvQuickSite/Start.cs +++ b/nvQuickSite/Start.cs @@ -589,7 +589,7 @@ private void btnDatabaseInfoNext_Click(object sender, EventArgs e) this.InstallFolder, this.chkSiteSpecificAppPool.Checked, this.chkDeleteSiteIfExists.Checked, - this.certificates[this.cboCertificates.SelectedIndex]); + this.chkEnableSsl.Checked ? this.certificates[this.cboCertificates.SelectedIndex] : null); FileSystemController.UpdateHostsFile(this.SiteName); diff --git a/nvQuickSite/data/latestVersion.json b/nvQuickSite/data/latestVersion.json index fa80f0e..86b6308 100644 --- a/nvQuickSite/data/latestVersion.json +++ b/nvQuickSite/data/latestVersion.json @@ -1,3 +1,3 @@ { - "latestVersion": "2.3.0" + "latestVersion": "2.3.1" } \ No newline at end of file