Skip to content

Conversation

@david-dev-de
Copy link

@david-dev-de david-dev-de commented Jan 1, 2026

What is this PR about?

This PR adds the capability to add custom middlewares to domain configurations.
This allows users to use arbitrary middlewares in their applications e.g. for advanced authentication mechanisms, custom error handling, ...

The implementation allows entering arbitrary middleware names and it is the users responsibility to ensure these exist. See screenshots for a working example.

Checklist

Before submitting this PR, please make sure that:

Issues related (if applicable)

closes #274
works towards resolution/improvement of #825, #2521

Screenshots

Screenshot 2026-01-01 at 16 43 23 Screenshot 2026-01-01 at 16 42 35 Screenshot 2026-01-01 at 16 41 57

Additional notes

At the moment the user has to define the middleware in the Traefik config file or via labels. A nice future improvement would be a form based configuration of middlewares in the UI.

@david-dev-de david-dev-de marked this pull request as ready for review January 1, 2026 15:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants