Add KestrelHttpsConfiguration to allow for HTTPS binding at the process level
This commit is contained in:
parent
65f50ee840
commit
cb14589a4a
|
|
@ -6,7 +6,7 @@ var builder = WebApplication.CreateSlimBuilder(args);
|
||||||
|
|
||||||
builder.WebHost.ConfigureKestrel(options => {
|
builder.WebHost.ConfigureKestrel(options => {
|
||||||
options.Limits.MaxRequestBodySize = long.MaxValue;
|
options.Limits.MaxRequestBodySize = long.MaxValue;
|
||||||
});
|
}).UseKestrelHttpsConfiguration();
|
||||||
|
|
||||||
builder.Services.AddLogging();
|
builder.Services.AddLogging();
|
||||||
builder.Logging.AddConsole();
|
builder.Logging.AddConsole();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue