不限制请求body大小
This commit is contained in:
parent
ccf4370b26
commit
6f36c48146
@ -45,6 +45,7 @@ namespace FastGithub
|
|||||||
webBuilder.UseShutdownTimeout(TimeSpan.FromSeconds(2d));
|
webBuilder.UseShutdownTimeout(TimeSpan.FromSeconds(2d));
|
||||||
webBuilder.UseKestrel(kestrel =>
|
webBuilder.UseKestrel(kestrel =>
|
||||||
{
|
{
|
||||||
|
kestrel.Limits.MaxRequestBodySize = null;
|
||||||
kestrel.ListenHttpReverseProxy();
|
kestrel.ListenHttpReverseProxy();
|
||||||
kestrel.ListenHttpsReverseProxy();
|
kestrel.ListenHttpsReverseProxy();
|
||||||
});
|
});
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user