dotnet / AspNetCore.Docs

Documentation for ASP.NET Core
https://docs.microsoft.com/aspnet/core
Creative Commons Attribution 4.0 International
12.6k stars 25.29k forks source link

Kestrel as a Reverse Proxy Supporting HTTP/2 #27066

Closed ChinnPlan closed 1 year ago

ChinnPlan commented 2 years ago

We are looking into use gRPC to connect to our EDMS (M-Files). Our clients would use the M-Files desktop client to connect to a reverse proxy in the DMZ that would direct requests to the M-Files application server in the internal network. So far, I have only heard of this working with proxy servers running on Linux (eg. HAProxy, NGINX), because M-Files requires HTTP/2 in this configuration. I have heard that Application Request Routing using HTTP/2 is not yet supported in IIS. Is this still true? Or does using Kestrel provide a suitable way to do this in Windows?


Document Details

Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

wadepickett commented 1 year ago

@JamesNK, I don't know the answer to this one. It does seem like it would be out of scope for this doc. Thoughts?

JamesNK commented 1 year ago

Yes, YARP - built on Kestrel - supports proxying gRPC.

https://microsoft.github.io/reverse-proxy/articles/grpc.html

Rick-Anderson commented 1 year ago

See When to use Kestrel with a reverse proxy

I think that's the right place to surface YARP. @JamesNK let me know if we should add that YARP link in other places.

JamesNK commented 1 year ago

I think what is there today is fine.