Skip to content

Latest commit

 

History

History
59 lines (41 loc) · 2.23 KB

README.md

File metadata and controls

59 lines (41 loc) · 2.23 KB

Exeal.StranglerProxy

Maintenance NuGet version CircleCI CodeFactor

Net Core proxy middleware to support Strangler fig pattern

⚡ How does it works?

strangler-fig-proxy

📝 Usage

First, you must add the strangler proxy middleware in your Startup.cs.

public void Configure(IApplicationBuilder app, IWebHostEnvironment env)
{
    ...
    app.UseStranglerProxyMiddleware();
    ...
}

And also you need to add destination proxy url in your proxy api appsettings.json like this:

"StranglerProxy": {
  "DestinationURL": "http://localhost:5001",
  "ExcludedResources": [ ]
}

You can also filter out certain resources so the proxy would not try to match those and always go to the destination URL

"StranglerProxy": {
  "DestinationURL": "http://localhost:5001",
  "ExcludedResources": [ "test13", "Test14/Hi" ]
}

⛏️ Built Using

⚖️ License

MIT

Maintainers

See also the list of contributors who participated in this project.

Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository.