From 3dfcac2cefd07c7160dd072def70de681109c201 Mon Sep 17 00:00:00 2001 From: Mikhail Date: Mon, 15 Jul 2024 09:04:17 -0400 Subject: [PATCH] disable http port --- nksrv/Program.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nksrv/Program.cs b/nksrv/Program.cs index 387dc68..0b54898 100644 --- a/nksrv/Program.cs +++ b/nksrv/Program.cs @@ -235,7 +235,7 @@ namespace nksrv var cert = new X509Certificate2(new X509Certificate(AppDomain.CurrentDomain.BaseDirectory + @"site.pfx")); var server = new WebServer(o => o - .WithUrlPrefixes("https://*:443", "http://*:80") + .WithUrlPrefixes("https://*:443") .WithMode(HttpListenerMode.EmbedIO).WithAutoLoadCertificate().WithCertificate(cert)) // First, we will configure our web server by adding Modules. .WithLocalSessionManager()