Open Misiu opened 1 year ago
@Misiu Well, I have the same needs as you, so I created the CYarp project, which abandoned the "backend YARP". I hope this project can help you.
@xljiulang thank you for sharing the link. The main idea was to run a simple server that is exposed to the outside (hosted on Azure or AWS) that the end user can query. The server will pass that query (request) to a small API running on the client machine. That app will do the actual execution and will serve the response to the client via the proxy.
I'll take a took at your project and ask any questions there.
While waiting for the implementation of https://github.com/microsoft/reverse-proxy/blob/main/docs/designs/yarp-tunneling.md in YARP I started playing with your YARP and your demo. As this demo shows a working concept I'd like to know if it is possible to connect to the frontend YARP directly from an application running in the private network. YARP backend running in the backend seems logical if you want to proxy multiple applications. But if I want to start a simple REST API and want only that API to be available locally and via an external URL (using the YARP frontend).
Did you even consider this scenario? If not, then could you guide us on what places should be changed/adjusted?