yes
This commit is contained in:
@@ -13,7 +13,7 @@ builder.WebHost.ConfigureKestrel(options =>
|
||||
{
|
||||
// Port 6000: HTTP/2 for gRPC
|
||||
options.ListenLocalhost(6000, o => o.Protocols = HttpProtocols.Http2);
|
||||
// Port 6001: HTTP/1.1 for REST API
|
||||
// Port 6001: HTTP/1.1 for HTTP API
|
||||
options.ListenLocalhost(6001, o => o.Protocols = HttpProtocols.Http1);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user