Skip to content

Latest commit

 

History

History
12 lines (8 loc) · 606 Bytes

File metadata and controls

12 lines (8 loc) · 606 Bytes

RFC-7239 compliant reverse-proxy middleware for OWIN

Build status

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.