-
Notifications
You must be signed in to change notification settings - Fork 2
ForwardedHeadersConfiguration
This tool provides an interface for inspecting the current configuration of the Forwarded Headers middleware in an ASP.NET Core application.
It presents detailed information about various middleware options, allowing you to review how forwarded headers are being handled. The tool does not modify settings.

This tool is designed for developers or administrators who need to verify the Forwarded Headers middleware configuration in their ASP.NET Core applications. It is especially useful for troubleshooting issues when your service operates behind a proxy, as it allows you to review how forwarded headers are being handled.
Additionally, it provides better insights into the available configuration options, helping you understand and refine how the middleware processes requests in your setup. The simple, table-based presentation ensures clarity and quick access to the relevant details.
In this application, the ASPNETCORE_FORWARDEDHEADERS_ENABLED environment variable has no function. This is because the middleware is explicitly enabled using app.UseForwardedHeaders() in the application code. When the middleware is added explicitly, the behavior is entirely controlled by the application's configuration, and the automatic enabling of the middleware through the environment variable is bypassed. This ensures precise control over how forwarded headers are processed.