From cb14589a4a93f06cd61b5df047bf1f1266f9676a Mon Sep 17 00:00:00 2001 From: Jeff Leung Date: Wed, 21 Aug 2024 10:54:31 -0700 Subject: [PATCH] Add KestrelHttpsConfiguration to allow for HTTPS binding at the process level --- AS1024.NetworkQuality.Server/Program.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AS1024.NetworkQuality.Server/Program.cs b/AS1024.NetworkQuality.Server/Program.cs index 6d93350..486e69b 100644 --- a/AS1024.NetworkQuality.Server/Program.cs +++ b/AS1024.NetworkQuality.Server/Program.cs @@ -6,7 +6,7 @@ var builder = WebApplication.CreateSlimBuilder(args); builder.WebHost.ConfigureKestrel(options => { options.Limits.MaxRequestBodySize = long.MaxValue; -}); +}).UseKestrelHttpsConfiguration(); builder.Services.AddLogging(); builder.Logging.AddConsole();