Add KestrelHttpsConfiguration to allow for HTTPS binding at the process level
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user