https://github.com/thehoneymad/owinforwardedheadermiddleware
The new RFC-7239 compatible Forwarded header middleware for Asp.net Web Api.
https://github.com/thehoneymad/owinforwardedheadermiddleware
asp-net-web-api dotnet owin-middleware
Last synced: about 2 months ago
JSON representation
The new RFC-7239 compatible Forwarded header middleware for Asp.net Web Api.
- Host: GitHub
- URL: https://github.com/thehoneymad/owinforwardedheadermiddleware
- Owner: thehoneymad
- License: mit
- Created: 2016-09-14T14:27:11.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2017-07-08T14:29:55.000Z (almost 9 years ago)
- Last Synced: 2024-12-28T18:27:39.582Z (over 1 year ago)
- Topics: asp-net-web-api, dotnet, owin-middleware
- Language: C#
- Homepage:
- Size: 18.6 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# RFC-7239 compliant reverse-proxy middleware for OWIN
[](https://ci.appveyor.com/project/thehoneymad/owinforwardedheadermiddleware)
To use the middleware in a OWIN startup:
public void Configuration(IAppBuilder app)
{
app.UseForwardHeaders(options: default(ForwardedHeadersOptions));
}
You can opt for a X-Forwarded-\* standard of proxy headers or you can opt for the new RFC-7234 compliant forwarded headers. Using ForwardedHeadersOptions you can define your desired standard.