A simple and handy little reverse proxy built using YARP that can be used for any purpose you like.
Personally, I've used this within an Azure Web app to proxy calls to Azure Resources within a private vNet.
The only configuration needed is to tell the proxy where to proxy calls to.
There are a couple ways you set this.
Update the value for the Clusters/MinimumCluster/Destinations/MyBackend/Address
For local dev: appsettings.Development.json
For production: appsettings.json
If you're using an Azure Web App, you can set this using an app setting with the name.
ReverseProxy__Clusters__MinimumCluster__Destinations__MyBackend__Address
Note the double underscore (__) in the name, that is how Azure works with the next JSON structure.
I suspect this might work with environment variables too, but I haven't specifically tested it.
YARP supports a whole heap of different options, this project was based on the most simple configuration.
For more options, have a look at the YARP samples